From: Tom Lane <tgl@sss.pgh.pa.us>
To: hcurti@exa.unicen.edu.ar
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8152: strange behavior regarding after triggers and inheritance
Date: Mon, 13 May 2013 16:06:39 -0400
Message-ID: <11314.1368475599@sss.pgh.pa.us> (raw)
In-Reply-To: <E1UbKgF-0000xi-OY@wrigleys.postgresql.org>
References: <E1UbKgF-0000xi-OY@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: tgl@sss.pgh.pa.us, hcurti@exa.unicen.edu.ar
Subject: Re: BUG #8152: strange behavior regarding after triggers and inheritance
In-Reply-To: <11314.1368475599@sss.pgh.pa.us>
References: <E1UbKgF-0000xi-OY@wrigleys.postgresql.org> <11314.1368475599@sss.pgh.pa.us>
* 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