From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Alvaro Herrera Munoz <alvherre(at)dcc(dot)uchile(dot)cl> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: CREATE TABLE AS ... EXECUTE |
Date: | 2003-06-27 19:57:18 |
Message-ID: | Pine.LNX.4.44.0306272156090.5890-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Alvaro Herrera Munoz writes:
> Is there a way to create a table from a prepared statement? CREATE TABLE AS
> explicitly says you have to use a SELECT statement, and the SELECT INTO
> syntax doesn't seem to allow the use of a prepared statement either. I
> don't see a way to use the prepared statement as a function nor as a "table"
> (SELECT ... FROM EXECUTE)
There's EXECUTE INTO, but when I find time I will change it to CREATE
TABLE AS ... EXECUTE, because we don't really like SELECT INTO, so EXECUTE
INTO doesn't seem the right solution.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-06-27 19:59:42 | Re: 7.2 to 7.4 upgrade issues |
Previous Message | Peter Eisentraut | 2003-06-27 19:52:27 | Possible mistake in new array syntax |