diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-24 23:21:06 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-24 23:21:45 -0500 |
commit | 9ed439a9c07b69c2617cc98596611fdbdc22472c (patch) | |
tree | 67de5b64612bdcd4006e0a00730aa87e49aa73bb /src/include/nodes/primnodes.h | |
parent | e90710f34a6d5a73475e4241852b377675600325 (diff) | |
download | postgresql-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.h | 1 |
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; |