Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uc8tZ-00026W-OP for pgsql-bugs@arkaria.postgresql.org; Tue, 14 May 2013 06:39:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Uc8tZ-0008AY-0C for pgsql-bugs@arkaria.postgresql.org; Tue, 14 May 2013 06:39:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uc0wx-0000h9-Ki for pgsql-bugs@postgresql.org; Mon, 13 May 2013 22:10:31 +0000 Received: from redondo.unicen.edu.ar ([200.5.106.11] helo=mx-1.unicen.edu.ar) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uc0wl-00087p-4e for pgsql-bugs@postgresql.org; Mon, 13 May 2013 22:10:28 +0000 Received: from beirut.fio.unicen.edu.ar (beirut.fio.unicen.edu.ar [192.168.96.6]) by mx-1.unicen.edu.ar (Postfix) with ESMTPS id 1ECCAA4B59; Mon, 13 May 2013 19:10:11 -0300 (ART) Received: from host157.190-139-139.telecom.net.ar ([190.139.139.157] helo=[192.168.112.3]) authenticated as hcurti by beirut.fio.unicen.edu.ar with esmtpa (Exim 4.63) id 1Uc0wS-0006gx-U4; Mon, 13 May 2013 19:10:01 -0300 Message-ID: <519164B2.20304@exa.unicen.edu.ar> Date: Mon, 13 May 2013 19:09:54 -0300 From: "Hugo J. Curti" Organization: Instituto de =?ISO-8859-15?Q?Investigaci=F3n_en_Tecnolo?= =?ISO-8859-15?Q?g=EDa_Inform=E1tica_Avanzada_=28INTIA=29?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121215 Iceowl/1.0b1 Icedove/3.0.11 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: BUG #8152: strange behavior regarding after triggers and inheritance References: <11314.1368475599@sss.pgh.pa.us> In-Reply-To: <11314.1368475599@sss.pgh.pa.us> X-Enigmail-Version: 1.0.1 OpenPGP: id=B79216F9; url=http://users.exa.unicen.edu.ar/~hcurti/firma_hcurti.asc Content-Type: text/plain; charset=ISO-8859-15 X-UNICEN-MailScanner-ID: 1ECCAA4B59.A053F X-UNICEN-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-UNICEN-MailScanner-From: hcurti@exa.unicen.edu.ar Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 13/05/13 17:06, Tom Lane escribi=F3: > hcurti@exa.unicen.edu.ar writes: >> PostgreSQL version: 8.4.17 >=20 >> After statments triggers on child tables are sometimes executed and >> sometimes are not. As I far as I could see, when the after trigger is >> defined in only one of the tables it may not get executed, wether when i= t is >> defined in every inherited table it does, but >> which one is undetermined. >=20 > This test case appears to work the way you're expecting in 9.0 and > later. I didn't immediately find a mention of such a change in the > commit logs; perhaps it got fixed as a side-effect of the changes that > moved trigger processing into ModifyTable plan nodes. Anyway, I doubt > we'd consider changing trigger behavior in 8.4.x at this late date. > You should update to a newer release series if this is a problem for you. >=20 > regards, tom lane Thank you Tom, The update to 9.x is already planned, and the workaround I mentioned in the post works for me. regards, Hugo - --=20 mailto:hcurti@exa.unicen.edu.ar http://www.exa.unicen.edu.ar/~hcurti Firma digital GPG/PGP: http://www.exa.unicen.edu.ar/~hcurti/firma_hcurti.asc Puede hacer una donaci=F3n indirecta (gratis) de un plato de comida para un ni=F1o de la Argentina ahora mismo ingresando a http://www.porloschicos.com/servlet/PorLosChicos?comando=3Ddonar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlGRZLEACgkQy9s+D7eSFvn2uwCeL3v4sQpkLgvN3xmHIVYN/2Ic NEcAoOrR+NXMzfarmgKxjDSun2docaC5 =3D6buB -----END PGP SIGNATURE----- --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs