Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 20B959FB460 for ; Sat, 16 Jun 2007 02:43:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 32120-07 for ; Sat, 16 Jun 2007 02:43:04 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from web54303.mail.re2.yahoo.com (web54303.mail.re2.yahoo.com [206.190.49.113]) by postgresql.org (Postfix) with SMTP id 571349FB45E for ; Sat, 16 Jun 2007 02:43:05 -0300 (ADT) Received: (qmail 32839 invoked by uid 60001); 16 Jun 2007 05:43:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=scS38UnC0TUUPt8sNKnNSDW3elxhdIOr+l/zr3gFq1ab1s2XhNi+NCgAcvRad3RgjRlYKyLe5FoKdnEcXOhnQ7rFa1z2C3v12sPp1Sj/VEfBrNVXZv0MfPUE6n21zmIe+KSMRvNZjhgTnMDPRvXMaCwv1vnK1yh78Bz9uhRWqfc=; X-YMail-OSG: 6v538yEVM1ndj9a9byRWJDnsXiD28RB6wwG5bfcUhaARBWR574LchL8bdKnYeXud57lcJgGJWyaehYKevxJjXydTOLhs4c7oT9eKgjScckOIbP5gD1U- Received: from [24.2.63.115] by web54303.mail.re2.yahoo.com via HTTP; Fri, 15 Jun 2007 22:43:04 PDT Date: Fri, 15 Jun 2007 22:43:04 -0700 (PDT) From: chester c young Subject: Re: trigger firing order To: Gregory Stark Cc: sql pgsql In-Reply-To: <87abv0ppls.fsf@oxford.xeocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <283819.32478.qm@web54303.mail.re2.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/115 X-Sequence-Number: 28605 > > 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/