Re: Controling Rule's Firing Order

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cnliou(at)eurosport(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Controling Rule's Firing Order
Date: 2002-08-23 04:15:53
Message-ID: 16661.1030076153@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<cnliou(at)eurosport(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Christian Imbeault 2002-08-23 05:09:50 Foreign keys: how to turn referential integrity constraint off
Previous Message cnliou 2002-08-23 02:24:06 Re: Controling Rule's Firing Order