pgsql: Fix unsupported options in CREATE TABLE ... AS EXECUTE.
От | Tom Lane |
---|---|
Тема | pgsql: Fix unsupported options in CREATE TABLE ... AS EXECUTE. |
Дата | |
Msg-id | E1RTnIT-0004uO-M2@gemulon.postgresql.org обсуждение исходный текст |
Список | 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 по дате отправления: