pgsql: Fix unsupported options in CREATE TABLE ... AS EXECUTE. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix unsupported options in CREATE TABLE ... AS EXECUTE.
Date
Msg-id E1RTnIT-0004uO-M2@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9ed439a9c07b69c2617cc98596611fdbdc22472c

Modified Files
--------------
doc/src/sgml/ref/create_table_as.sgml |    7 +--
src/backend/executor/execMain.c       |   40 ++++++++++++++++-
src/backend/nodes/copyfuncs.c         |    1 +
src/backend/nodes/equalfuncs.c        |    1 +
src/backend/nodes/outfuncs.c          |    1 +
src/backend/nodes/readfuncs.c         |    1 +
src/backend/parser/analyze.c          |   77 ++------------------------------
src/backend/parser/gram.y             |   58 +++++-------------------
src/include/catalog/catversion.h      |    2 +-
src/include/nodes/primnodes.h         |    1 +
10 files changed, 62 insertions(+), 127 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Dump an unvalidated constraint separately from its table
Next
From: Robert Haas
Date:
Subject: pgsql: Move "hot" members of PGPROC into a separate PGXACT array.