pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Stark <stark@enterprisedb.com>
To: chester c young <chestercyoung@yahoo.com>
Cc: sql pgsql <pgsql-sql@postgresql.org>
Subject: Re: trigger firing order
Date: Sat, 16 Jun 2007 04:03:59 +0100
Message-ID: <87abv0ppls.fsf@oxford.xeocode.com> (raw)
In-Reply-To: <466219.19714.qm@web54302.mail.re2.yahoo.com>
References: <466219.19714.qm@web54302.mail.re2.yahoo.com>

"chester c young" <chestercyoung@yahoo.com> writes:

> tables A and B: a post row trigger on A cause updates on B which has
> its own post row trigger.
>
> 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?

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com




view thread (3+ messages)  latest in thread

Message-ID: <87abv0ppls.fsf@oxford.xeocode.com>
Permalink:  ../87abv0ppls.fsf@oxford.xeocode.com/
Also on:    postgresql.org/message-id/87abv0ppls.fsf@oxford.xeocode.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: stark@enterprisedb.com, chestercyoung@yahoo.com
  Subject: Re: trigger firing order
  In-Reply-To: <87abv0ppls.fsf@oxford.xeocode.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