]> granicus.if.org Git - postgresql/commit
Relocate partition pruning structs to a saner place.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Jun 2018 20:30:14 +0000 (16:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Jun 2018 20:30:14 +0000 (16:30 -0400)
commit939449de0e571b8c0b07674bb7095e06e93cc059
treec0d6bd447ba9cebaccf5e4ecaa3e3c7f34a443d1
parent73b7f48f78d27b1baf1a6541cbaae0fe6bd6186d
Relocate partition pruning structs to a saner place.

These struct definitions were originally dropped into primnodes.h,
which is a poor choice since that's mainly intended for primitive
expression node types; these are not in that category.  What they
are is auxiliary info in Plan trees, so move them to plannodes.h.

For consistency, also relocate some related code that was apparently
placed with the aid of a dartboard.

There's no interesting code changes in this commit, just reshuffling.

David Rowley and Tom Lane

Discussion: https://postgr.es/m/CAFj8pRBjrufA3ocDm8o4LPGNye9Y+pm1b9kCwode4X04CULG3g@mail.gmail.com
src/backend/executor/execPartition.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c
src/backend/optimizer/plan/createplan.c
src/include/nodes/nodes.h
src/include/nodes/plannodes.h
src/include/nodes/primnodes.h