mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
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.
This commit is contained in:
@@ -280,6 +280,8 @@ typedef struct Aggref
|
||||
bool aggstar; /* TRUE if argument list was really '*' */
|
||||
bool aggvariadic; /* true if variadic arguments have been
|
||||
* combined into an array last argument */
|
||||
bool aggcombine; /* combining agg; input is a transvalue */
|
||||
bool aggpartial; /* partial agg; output is a transvalue */
|
||||
char aggkind; /* aggregate kind (see pg_aggregate.h) */
|
||||
Index agglevelsup; /* > 0 if agg belongs to outer query */
|
||||
int location; /* token location, or -1 if unknown */
|
||||
|
Reference in New Issue
Block a user