| От | Tom Lane |
|---|---|
| Тема | Re: Statement-level triggers and inheritance |
| Дата | |
| Msg-id | 3187.1227909559@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Statement-level triggers and inheritance ("Greg Sabino Mullane" <greg@turnstep.com>) |
| Ответы |
Re: Statement-level triggers and inheritance
|
| Список | pgsql-hackers |
"Greg Sabino Mullane" <greg@turnstep.com> writes:
> Looks like inheritance causes a statement-level trigger to fire on
> the last evaluated table in the inheritance chain. Is this the
> desired behavior?
Hm, I think whoever wrote the statement-level trigger code completely
forgot to consider the possibility of multiple target relations. It's
not even consistent between BEFORE and AFTER triggers for this case.
My feeling is that it ought to fire such triggers on *each* target.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера