From: Oliver Elphick <olly@lfix.co.uk>
To: Doug McNaught <doug@mcnaught.org>
Cc: gearond@cvc.net
Cc: pgsql-general@postgresql.org
Subject: Re: transactions
Date: 23 Feb 2003 13:28:01 +0000
Message-ID: <1046006880.27000.5.camel@linda.lfix.co.uk> (raw)
In-Reply-To: <m3bs15ze0j.fsf@varsoon.wireboard.com>
References: <2VFBXVPNTR31UZV8WRIE2YOM62B6E0.3e566b95@cal-lab>
<m3bs15ze0j.fsf@varsoon.wireboard.com>
On Fri, 2003-02-21 at 18:26, Doug McNaught wrote:
> Dennis Gearon <gearond@cvc.net> writes:
> > 2/ If I am updating/deleting/inserting into two tables, and both tables have triggers on them to
> > check the relationship of the data between the tables, any way of knowing which trigger will fire
> > first at the end of the transaction?
>
> I'm not sure about this one--do the docs say anything?
In 7.3, I believe triggers fire in alphabetical order. There was no
predictable order in earlier versions.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"All scripture is given by inspiration of God, and is
profitable for doctrine, for reproof, for correction,
for instruction in righteousness; That the man of God
may be perfect, thoroughly furnished unto all good
works." II Timothy 3:16,17
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: olly@lfix.co.uk, doug@mcnaught.org, gearond@cvc.net
Subject: Re: transactions
In-Reply-To: <1046006880.27000.5.camel@linda.lfix.co.uk>
References: <2VFBXVPNTR31UZV8WRIE2YOM62B6E0.3e566b95@cal-lab> <m3bs15ze0j.fsf@varsoon.wireboard.com> <1046006880.27000.5.camel@linda.lfix.co.uk>
* 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