From 9ed439a9c07b69c2617cc98596611fdbdc22472c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 24 Nov 2011 23:21:06 -0500 Subject: 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. --- src/backend/nodes/readfuncs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/nodes/readfuncs.c') diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c index 29a0e8fe3ba..3de20ad93a9 100644 --- a/src/backend/nodes/readfuncs.c +++ b/src/backend/nodes/readfuncs.c @@ -394,6 +394,7 @@ _readIntoClause(void) READ_NODE_FIELD(options); READ_ENUM_FIELD(onCommit, OnCommitAction); READ_STRING_FIELD(tableSpaceName); + READ_BOOL_FIELD(skipData); READ_DONE(); } -- cgit v1.2.3