diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-24 23:21:06 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-24 23:21:45 -0500 |
commit | 9ed439a9c07b69c2617cc98596611fdbdc22472c (patch) | |
tree | 67de5b64612bdcd4006e0a00730aa87e49aa73bb /doc/src | |
parent | e90710f34a6d5a73475e4241852b377675600325 (diff) | |
download | postgresql-9ed439a9c07b69c2617cc98596611fdbdc22472c.tar.gz postgresql-9ed439a9c07b69c2617cc98596611fdbdc22472c.zip |
Fix unsupported options in CREATE TABLE ... AS EXECUTE.
The WITH [NO] DATA option was not supported, nor the ability to specify
replacement column names; the former limitation wasn't even documented, as
per recent complaint from Naoya Anzai. Fix by moving the responsibility
for supporting these options into the executor. It actually takes less
code this way ...
catversion bump due to change in representation of IntoClause, which might
affect stored rules.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/create_table_as.sgml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/create_table_as.sgml b/doc/src/sgml/ref/create_table_as.sgml index 593b1c7a8f8..1be9f4d1f6a 100644 --- a/doc/src/sgml/ref/create_table_as.sgml +++ b/doc/src/sgml/ref/create_table_as.sgml @@ -105,10 +105,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE <replaceable <listitem> <para> The name of a column in the new table. If column names are not - provided, they are taken from the output column names of the - query. If the table is created from an - <command>EXECUTE</command> command, a column name list cannot be - specified. + provided, they are taken from the output column names of the query. </para> </listitem> </varlistentry> @@ -252,7 +249,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE <replaceable identical to pre-8.0 releases. Applications that require OIDs in the table created by <command>CREATE TABLE AS</command> should explicitly specify <literal>WITH (OIDS)</literal> - to ensure proper behavior. + to ensure desired behavior. </para> </refsect1> |