X-Original-To: pgsql-general@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DC017474E5C for ; Sun, 23 Feb 2003 08:28:17 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 55370-07 for ; Sun, 23 Feb 2003 08:28:07 -0500 (EST) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by postgresql.org (Postfix) with ESMTP id 6A583475921 for ; Sun, 23 Feb 2003 08:27:59 -0500 (EST) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 18mwAj-0001lI-0d; Sun, 23 Feb 2003 13:28:01 +0000 Received: from localhost ([127.0.0.1] ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.36 #1 (Debian)) id 18mwAj-0007OP-00; Sun, 23 Feb 2003 13:28:01 +0000 Subject: Re: transactions From: Oliver Elphick To: Doug McNaught Cc: gearond@cvc.net, pgsql-general@postgresql.org In-Reply-To: References: <2VFBXVPNTR31UZV8WRIE2YOM62B6E0.3e566b95@cal-lab> Content-Type: text/plain Organization: LFIX Limited Message-Id: <1046006880.27000.5.camel@linda.lfix.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 23 Feb 2003 13:28:01 +0000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/1410 X-Sequence-Number: 38164 On Fri, 2003-02-21 at 18:26, Doug McNaught wrote: > Dennis Gearon 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