Re: Constraint enforcement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Constraint enforcement
Дата
Msg-id 26740.1171557850@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Constraint enforcement  (Demian Lessa <demian@lessa.org>)
Ответы Re: Constraint enforcement  (Demian Lessa <demian@lessa.org>)
Список pgsql-general
Demian Lessa <demian@lessa.org> writes:
> What I'm trying to figure out is how postgre identifies the *exact* set
> of constraints to enforce for each of the different commands above, and
> the order in which these are performed (since some checks are way more
> expensive than others).

Triggers on the same event are fired in alphabetical order by "tgname".
I don't believe any particular ordering is enforced among CHECK
constraints --- but they all happen before any triggers fire.

            regards, tom lane

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

Предыдущее
От: Emi Lu
Дата:
Сообщение: postgresql 8.2 Installation error at "gmake"
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: postgresql 8.2 Installation error at "gmake"