| От | Tom Lane |
|---|---|
| Тема | Re: TRIGGERed INSERTS |
| Дата | |
| Msg-id | 17482.1034950973@sss.pgh.pa.us обсуждение |
| Ответ на | TRIGGERed INSERTS ("Martin Crundall" <pgsql@ac6rm.net>) |
| Ответы |
Re: TRIGGERed INSERTS
|
| Список | pgsql-sql |
"Martin Crundall" <pgsql@ac6rm.net> writes:
> Some of the data tables have "AFTER INSERT" TRIGGERs on them that, in
> turn, insert some subordinate items into parallel data tables and the
> central pointer/ordering table.
It looks to me like AFTER triggers are fired upon return to the main
loop in postgres.c, thus only at the end of a querystring sent by the
client. This is perhaps wrong, but I'm not sure that allowing them to
fire during plpgsql functions would be a good thing either.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера