pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chester c young <chestercyoung@yahoo.com>
To: Gregory Stark <stark@enterprisedb.com>
Cc: sql pgsql <pgsql-sql@postgresql.org>
Subject: Re: trigger firing order
Date: Fri, 15 Jun 2007 22:43:04 -0700 (PDT)
Message-ID: <283819.32478.qm@web54303.mail.re2.yahoo.com> (raw)
In-Reply-To: <87abv0ppls.fsf@oxford.xeocode.com>


> > 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/



view thread (3+ messages)

Message-ID: <283819.32478.qm@web54303.mail.re2.yahoo.com>
Permalink:  ../283819.32478.qm@web54303.mail.re2.yahoo.com/
Also on:    postgresql.org/message-id/283819.32478.qm@web54303.mail.re2.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: chestercyoung@yahoo.com, stark@enterprisedb.com
  Subject: Re: trigger firing order
  In-Reply-To: <283819.32478.qm@web54303.mail.re2.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox