]> granicus.if.org Git - postgresql/commit
Do not write out WCOs in Query
authorStephen Frost <sfrost@snowman.net>
Mon, 5 Oct 2015 11:38:58 +0000 (07:38 -0400)
committerStephen Frost <sfrost@snowman.net>
Mon, 5 Oct 2015 11:38:58 +0000 (07:38 -0400)
commit4158cc3793fe0e074dcb58e91103344c8ffcd6df
tree46eb1520dac092449f08d8cdb816417ce597024c
parent2596d705bdc4ac886a12720b19ef65b3e67b55f7
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