Alvaro Herrera Munoz <[EMAIL PROTECTED]> 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.
IIRC there is an EXECUTE INTO.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match