diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-03-21 09:20:53 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-03-21 09:30:18 -0400 |
commit | e06a38965b3bcdaa881e7e06892d4d8ab6c2c980 (patch) | |
tree | 7fe176a2301090c3bec08999ff77b8d0ab90fabe /src/backend/nodes/nodeFuncs.c | |
parent | 7fa0064092e135415a558dc3c4d7393d14ab6d8e (diff) | |
download | postgresql-e06a38965b3bcdaa881e7e06892d4d8ab6c2c980.tar.gz postgresql-e06a38965b3bcdaa881e7e06892d4d8ab6c2c980.zip |
Support parallel aggregation.
Parallel workers can now partially aggregate the data and pass the
transition values back to the leader, which can combine the partial
results to produce the final answer.
David Rowley, based on earlier work by Haribabu Kommi. Reviewed by
Álvaro Herrera, Tomas Vondra, Amit Kapila, James Sewell, and me.
Diffstat (limited to 'src/backend/nodes/nodeFuncs.c')
-rw-r--r-- | src/backend/nodes/nodeFuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/nodes/nodeFuncs.c b/src/backend/nodes/nodeFuncs.c index b4ea440f052..46af8721161 100644 --- a/src/backend/nodes/nodeFuncs.c +++ b/src/backend/nodes/nodeFuncs.c @@ -57,7 +57,7 @@ exprType(const Node *expr) type = ((const Param *) expr)->paramtype; break; case T_Aggref: - type = ((const Aggref *) expr)->aggtype; + type = ((const Aggref *) expr)->aggoutputtype; break; case T_GroupingFunc: type = INT4OID; |