| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера