From: Rolf A. de By <deby@itc.nl>
Cc: pgsql-sql@postgresql.org
Subject: Re: Trigger definition . . . puzzled
Date: Thu, 13 Dec 2007 21:22:14 +0100
Message-ID: <47619476.9060100@itc.nl> (raw)
In-Reply-To: <13236.1197563633@sss.pgh.pa.us>
References: <4760DCED.7080805@itc.nl>
<12289.1197560972@sss.pgh.pa.us>
<476156EF.8080901@itc.nl>
<13236.1197563633@sss.pgh.pa.us>
Ouch, that hurts! It suddenly dawns on me . . . Big difference on table
that you specify and table where it
actually takes effect. Confusing at first. Thanks a million, Tom.
> "Rolf A. de By" <deby@itc.nl> writes:
>
>> Yes, this is an inheritance set-up. But actually no: I am executing all
>> my data changes against the parent table, and want the trigger on that
>> parent table to fire for an insert on the parent table as it does. But
>> I also want the trigger to fire when an update on the parent table is
>> executed, and this does not happen.
>>
>
> There is no update on any row in the parent table. The update is on a
> row in a child table.
>
> regards, tom lane
>
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: deby@itc.nl
Subject: Re: Trigger definition . . . puzzled
In-Reply-To: <47619476.9060100@itc.nl>
* 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