pgsql: Fix EXPLAIN VERBOSE output for parallel aggregate.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix EXPLAIN VERBOSE output for parallel aggregate.
Date: 2016-04-27 11:39:30
Message-ID: E1avNoY-0006Pu-CM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)1460737650(at)sss(dot)pgh(dot)pa(dot)us

Patch by me, reviewed by David Rowley.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/59eb55127906b943ff155240eebc161df8edb62f

Modified Files
--------------
src/backend/nodes/copyfuncs.c | 2 +
src/backend/nodes/equalfuncs.c | 2 +
src/backend/nodes/outfuncs.c | 2 +
src/backend/nodes/readfuncs.c | 2 +
src/backend/optimizer/plan/setrefs.c | 5 +
src/backend/optimizer/util/tlist.c | 3 +
src/backend/utils/adt/ruleutils.c | 228 +++++++++++++++++++++++------------
src/include/nodes/primnodes.h | 2 +
8 files changed, 168 insertions(+), 78 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-04-27 12:10:32 Re: [COMMITTERS] Re: pgsql: Convert contrib/seg's bool-returning SQL functions to V1 call co
Previous Message Michael Paquier 2016-04-27 04:15:32 Re: Re: pgsql: Convert contrib/seg's bool-returning SQL functions to V1 call co