Do not write out WCOs in Query
authorStephen Frost
Mon, 5 Oct 2015 11:38:56 +0000 (07:38 -0400)
committerStephen Frost
Mon, 5 Oct 2015 11:38:56 +0000 (07:38 -0400)
commit31fb4df69d1364c79cfab0a2bd4470d0c48e942e
treea1c51314b5fc15b0f5bc9785ddf438c25aa0d119
parent0577821b57253d0ae43ffdddc8f94f07866830ae
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.
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c
src/include/catalog/catversion.h
src/include/nodes/parsenodes.h