Re: sql_drop Event Triggerg
| От | Tom Lane |
|---|---|
| Тема | Re: sql_drop Event Triggerg |
| Дата | |
| Msg-id | 17465.1364325033@sss.pgh.pa.us обсуждение |
| Ответ на | Re: sql_drop Event Triggerg (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: sql_drop Event Triggerg
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Now there *is* one rather big performance problem in this patch, which
> is that it turns on collection of object dropped data regardless of
> there being event triggers that use the info at all. That's a serious
> drawback and we're going to get complaints about it. So we need to do
> something to fix that.
> One idea that comes to mind is to add some more things to the grammar,
> CREATE EVENT TRIGGER name ... WITH ('DROPPED OBJECTS');
Uh ... surely we can just notice whether there's a trigger on the
object-drop event? I don't understand why we need *yet more*
mechanism here.
regards, tom lane
В списке pgsql-hackers по дате отправления: