Re: trigger firing order

From: chester c young <chestercyoung(at)yahoo(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: sql pgsql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: trigger firing order
Date: 2007-06-16 05:43:04
Message-ID: 283819.32478.qm@web54303.mail.re2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


> > does the post trigger on A wait until post trigger on B is
> executed? -> > this seems intuitive to me.
>
> How can it wait until the trigger on B is executed if the trigger on
> B doesn't
> actually get triggered until someone updates B and it's the trigger
> on A
> doing the update?

trigger A executes until it updates table B, at which point it does it
pause execution until the post update trigger on table B completes, and
then trigger A resumes at the next statement.


____________________________________________________________________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Rodrigo De León 2007-06-16 09:12:57 Re: inner join problem with temporary tables
Previous Message Gregory Stark 2007-06-16 03:03:59 Re: trigger firing order