Re: Command Triggers - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Command Triggers
Date
Msg-id 201112011912.18635.andres@anarazel.de
Whole thread Raw
In response to Command Triggers  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: Command Triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Robert Haas
Date:
Subject: Re: FlexLocks
Next
From: Tom Lane
Date:
Subject: Re: Command Triggers