Re: referential integrity constraints not checked inside

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: referential integrity constraints not checked inside
Дата
Msg-id 8279.1084457368@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: referential integrity constraints not checked inside  (Christian Rank <christian.rank@rz.uni-passau.de>)
Ответы Re: referential integrity constraints not checked inside  (Christian Rank <christian.rank@rz.uni-passau.de>)
Список pgsql-general
Christian Rank <christian.rank@rz.uni-passau.de> writes:
> ... according to the docs, the validity of a constraint should be
> checked after each statement unless this behaviour is altered with a SET
> CONSTRAINTS statement.

"Statement" means "interactive command" in that context --- in other
words, the constraints won't be checked until after control returns from
your function.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: referential integrity constraints not checked inside PL/pgSQL functions?
Следующее
От: Christian Rank
Дата:
Сообщение: Re: referential integrity constraints not checked inside