Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id BD294632CD5 for ; Mon, 16 Aug 2010 13:39:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 40554-07 for ; Mon, 16 Aug 2010 16:39:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 78E1E632C63 for ; Mon, 16 Aug 2010 13:39:36 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Mon, 16 Aug 2010 11:39:35 -0500 Message-Id: <4C69236F020000250003469A@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Mon, 16 Aug 2010 11:39:27 -0500 From: "Kevin Grittner" To: "Josi Perez (3T Systems)" Cc: ,"Tom Lane" Subject: Re: trigger AFTER INSERT References: <14276.1281625226@sss.pgh.pa.us> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/117 X-Sequence-Number: 35366 "Josi Perez (3T Systems)" wrote: > Without considering the errors, the transaction should not start > after the AFTER INSERT? Anything happening in a trigger is always part of the same database transaction as the database action which fired the trigger. -Kevin