Re: Command Triggers

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Command Triggers
Дата
Msg-id 201112011912.18635.andres@anarazel.de
обсуждение исходный текст
Ответ на Command Triggers  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Command Triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On Tuesday, November 08, 2011 06:47:13 PM Dimitri Fontaine wrote:
> exception to that rule would be SELECT INTO and CREATE TABLE AS SELECT,
> and my proposal would be to add specific call sites to the functions
> I've provided in the attached patch rather than try to contort them into
> being a good citizen as a utility command.
I would very much prefer to make them utility commands and rip out the 
executor support for that.
It doesn't look that complicated and would allow us to get rid of the 
partially duplicated defineRelation and related stuff from the executor where 
its violating my aestetic feelings ;)

Is there something making that especially hard that I overlooked? The 
infrastructure for doing so seems to be there.


Andres


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: FlexLocks
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Command Triggers