diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-04-27 07:33:33 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-04-27 07:37:40 -0400 |
commit | 59eb55127906b943ff155240eebc161df8edb62f (patch) | |
tree | b5aecf40d1ebf8e6f46c83d81a319d510aeea073 /src/include/nodes/primnodes.h | |
parent | 72a98a639574d2e25ed94652848555900c81a799 (diff) |
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.
Diffstat (limited to 'src/include/nodes/primnodes.h')
-rw-r--r-- | src/include/nodes/primnodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/nodes/primnodes.h b/src/include/nodes/primnodes.h index 1ffc0a1e5e2..a4bc7511773 100644 --- a/src/include/nodes/primnodes.h +++ b/src/include/nodes/primnodes.h @@ -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 */ |