]> granicus.if.org Git - postgresql/commit
Fix EXPLAIN VERBOSE output for parallel aggregate.
authorRobert Haas <rhaas@postgresql.org>
Wed, 27 Apr 2016 11:33:33 +0000 (07:33 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 27 Apr 2016 11:37:40 +0000 (07:37 -0400)
commit59eb55127906b943ff155240eebc161df8edb62f
treeb5aecf40d1ebf8e6f46c83d81a319d510aeea073
parent72a98a639574d2e25ed94652848555900c81a799
Fix EXPLAIN VERBOSE output for parallel aggregate.

The way that PartialAggregate and FinalizeAggregate plan nodes were
displaying output columns before was bogus.  Now, FinalizeAggregate
produces the same outputs as an Aggregate would have produced, while
PartialAggregate produces each of those outputs prefixed by the word
PARTIAL.

Discussion: 12585.1460737650@sss.pgh.pa.us

Patch by me, reviewed by David Rowley.
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c
src/backend/optimizer/plan/setrefs.c
src/backend/optimizer/util/tlist.c
src/backend/utils/adt/ruleutils.c
src/include/nodes/primnodes.h