Re: Trigger definition . . . puzzled

Поиск
Список
Период
Сортировка
От Rolf A. de By
Тема Re: Trigger definition . . . puzzled
Дата
Msg-id 47619476.9060100@itc.nl
обсуждение исходный текст
Ответ на Re: Trigger definition . . . puzzled  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
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
>   


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Trigger definition . . . puzzled
Следующее
От: Steve Midgley
Дата:
Сообщение: Re: Query design assistance - getting daily totals