Re: [HACKERS] pgsql: Add sql_drop event for event triggers
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] pgsql: Add sql_drop event for event triggers |
| Дата | |
| Msg-id | 2565.1365523150@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] pgsql: Add sql_drop event for event triggers (Dimitri Fontaine <dimitri@2ndQuadrant.fr>) |
| Ответы |
Re: [HACKERS] pgsql: Add sql_drop event for event triggers
|
| Список | pgsql-committers |
Dimitri Fontaine <dimitri@2ndquadrant.fr> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> I think it would be difficult and probably dangerous to have PG_TRY
>> for only some utility commands, so not much to be done about that.
>> The main thing is to not invoke event trigger code for BEGIN/ABORT/SET.
> What about splitting the big switch statement into two of them? The
> first one for transaction control statements, and then the other bigger
> one.
Sounds like considerable uglification to fix a performance issue that's
entirely hypothetical... let's see some numbers that prove it's worth
worrying about before we do that.
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера