Fix unsupported options in CREATE TABLE ... AS EXECUTE.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Nov 2011 04:21:06 +0000 (23:21 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Nov 2011 04:21:45 +0000 (23:21 -0500)
commit9ed439a9c07b69c2617cc98596611fdbdc22472c
tree67de5b64612bdcd4006e0a00730aa87e49aa73bb
parente90710f34a6d5a73475e4241852b377675600325
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.
doc/src/sgml/ref/create_table_as.sgml
src/backend/executor/execMain.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c
src/backend/parser/analyze.c
src/backend/parser/gram.y
src/include/catalog/catversion.h
src/include/nodes/primnodes.h