diff options
author | Stephen Frost <sfrost@snowman.net> | 2015-10-05 07:38:56 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2015-10-05 07:38:56 -0400 |
commit | 31fb4df69d1364c79cfab0a2bd4470d0c48e942e (patch) | |
tree | a1c51314b5fc15b0f5bc9785ddf438c25aa0d119 /src/backend/nodes/equalfuncs.c | |
parent | 0577821b57253d0ae43ffdddc8f94f07866830ae (diff) |
Do not write out WCOs in Query
The WithCheckOptions list in Query are only populated during rewrite and
do not need to be written out or read in as part of a Query structure.
Further, move WithCheckOptions to the bottom and add comments to clarify
that it is only populated during rewrite.
Back-patch to 9.5 with a catversion bump, as we are still in alpha.
Diffstat (limited to 'src/backend/nodes/equalfuncs.c')
-rw-r--r-- | src/backend/nodes/equalfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/nodes/equalfuncs.c b/src/backend/nodes/equalfuncs.c index d91271a862e..fcdb3d02837 100644 --- a/src/backend/nodes/equalfuncs.c +++ b/src/backend/nodes/equalfuncs.c @@ -906,7 +906,6 @@ _equalQuery(const Query *a, const Query *b) COMPARE_NODE_FIELD(rtable); COMPARE_NODE_FIELD(jointree); COMPARE_NODE_FIELD(targetList); - COMPARE_NODE_FIELD(withCheckOptions); COMPARE_NODE_FIELD(onConflict); COMPARE_NODE_FIELD(returningList); COMPARE_NODE_FIELD(groupClause); @@ -920,6 +919,7 @@ _equalQuery(const Query *a, const Query *b) COMPARE_NODE_FIELD(rowMarks); COMPARE_NODE_FIELD(setOperations); COMPARE_NODE_FIELD(constraintDeps); + COMPARE_NODE_FIELD(withCheckOptions); return true; } |