EXECUTE INTO

Started by Peter Eisentrautover 22 years ago2 messages
#1Peter Eisentraut
peter_e@gmx.net

I noticed 7.4 has an EXECUTE INTO statement that is a prepared form of
SELECT INTO. But since SELECT INTO is sort of less preferred than CREATE
TABLE AS for several reasons, would it not be better if we named that
statement CREATE TABLE ... AS EXECUTE plan_name? That form would make
more sense to me.

--
Peter Eisentraut peter_e@gmx.net

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Peter Eisentraut (#1)
Re: EXECUTE INTO

If no one objects, I will make this change.

Peter Eisentraut writes:

I noticed 7.4 has an EXECUTE INTO statement that is a prepared form of
SELECT INTO. But since SELECT INTO is sort of less preferred than CREATE
TABLE AS for several reasons, would it not be better if we named that
statement CREATE TABLE ... AS EXECUTE plan_name? That form would make
more sense to me.

--
Peter Eisentraut peter_e@gmx.net