Re: referential integrity constraints not checked inside

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: referential integrity constraints not checked inside
Дата
в 11:09:50
Msg-id
8279.1084457368@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: referential integrity constraints not checked inside PL/pgSQL functions? Christopher Browne <cbbrowne@acm.org>
Christian Rank  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
Дата:
От: Christian Rank
Дата:
FAQ