mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user