aboutsummaryrefslogtreecommitdiff
path: root/src/include/nodes/primnodes.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-11-24 23:21:06 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-11-24 23:21:45 -0500
commit9ed439a9c07b69c2617cc98596611fdbdc22472c (patch)
tree67de5b64612bdcd4006e0a00730aa87e49aa73bb /src/include/nodes/primnodes.h
parente90710f34a6d5a73475e4241852b377675600325 (diff)
downloadpostgresql-9ed439a9c07b69c2617cc98596611fdbdc22472c.tar.gz
postgresql-9ed439a9c07b69c2617cc98596611fdbdc22472c.zip
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.
Diffstat (limited to 'src/include/nodes/primnodes.h')
-rw-r--r--src/include/nodes/primnodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/primnodes.h b/src/include/nodes/primnodes.h
index cedf022e174..28a2b120f61 100644
--- a/src/include/nodes/primnodes.h
+++ b/src/include/nodes/primnodes.h
@@ -91,6 +91,7 @@ typedef struct IntoClause
List *options; /* options from WITH clause */
OnCommitAction onCommit; /* what do we do at COMMIT? */
char *tableSpaceName; /* table space to use, or NULL */
+ bool skipData; /* true for WITH NO DATA */
} IntoClause;