From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix unsupported options in CREATE TABLE ... AS EXECUTE. |
Date: | 2011-11-25 04:21:57 |
Message-ID: | E1RTnIT-0004uO-M2@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-11-25 13:19:14 | pgsql: Move "hot" members of PGPROC into a separate PGXACT array. |
Previous Message | Thom Brown | 2011-11-24 21:57:11 | Re: [COMMITTERS] pgsql: Enable CHECK constraints to be declared NOT VALID |