Re: Controling Rule's Firing Order

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Controling Rule's Firing Order
Дата
Msg-id 16661.1030076153@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Controling Rule's Firing Order  (<cnliou@eurosport.com>)
Список pgsql-general
<cnliou@eurosport.com> writes:
> Does foreign key constraints also fire in
> alphabetical order in 7.3?

Foreign key triggers will fire in alphabetical order along with other
triggers.  This means they're firing based on a textual sort of the
OIDs assigned to the triggers, which will often but not always
correspond to creation order.

I'm having a hard time visualizing a situation where it's reasonable
to depend on FK trigger firing order, actually.  Convince me why I
should care about this?

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: Controling Rule's Firing Order
Следующее
От: Jean-Christian Imbeault
Дата:
Сообщение: Foreign keys: how to turn referential integrity constraint off