Re: CREATE TABLE AS ... EXECUTE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 16:36:54
Message-ID: 1555.1056731814@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera Munoz <alvherre(at)dcc(dot)uchile(dot)cl> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Darko Prenosil 2003-06-27 16:48:35 Re: .pot files are unavailable (?)
Previous Message Alvaro Herrera Munoz 2003-06-27 16:15:10 CREATE TABLE AS ... EXECUTE