pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hugo J. Curti <hcurti@exa.unicen.edu.ar>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8152: strange behavior regarding after triggers and inheritance
Date: Mon, 13 May 2013 19:09:54 -0300
Message-ID: <519164B2.20304@exa.unicen.edu.ar> (raw)
In-Reply-To: <11314.1368475599@sss.pgh.pa.us>
References: <E1UbKgF-0000xi-OY@wrigleys.postgresql.org>
	<11314.1368475599@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El 13/05/13 17:06, Tom Lane escribió:
> hcurti@exa.unicen.edu.ar writes:
>> PostgreSQL version: 8.4.17
> 
>> 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 it is
>> defined in every inherited table it does, but
>> which one is undetermined.
> 
> 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.
> 
> 			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

- -- 
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ón indirecta (gratis) de un plato de comida
para un niño de la Argentina ahora mismo ingresando a
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlGRZLEACgkQy9s+D7eSFvn2uwCeL3v4sQpkLgvN3xmHIVYN/2Ic
NEcAoOrR+NXMzfarmgKxjDSun2docaC5
=6buB
-----END PGP SIGNATURE-----


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <519164B2.20304@exa.unicen.edu.ar>
Permalink:  ../519164B2.20304@exa.unicen.edu.ar/
Also on:    postgresql.org/message-id/519164B2.20304@exa.unicen.edu.ar

 · 

reply

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-bugs@postgresql.org
  Cc: hcurti@exa.unicen.edu.ar, tgl@sss.pgh.pa.us
  Subject: Re: BUG #8152: strange behavior regarding after triggers and inheritance
  In-Reply-To: <519164B2.20304@exa.unicen.edu.ar>
  References: <E1UbKgF-0000xi-OY@wrigleys.postgresql.org> <11314.1368475599@sss.pgh.pa.us> <519164B2.20304@exa.unicen.edu.ar>

* 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