mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Save calculated transitionSpace in Agg node.
This will be useful in the upcoming Hash Aggregation work to improve estimates for hash table sizing. Discussion: https://postgr.es/m/37091115219dd522fd9ed67333ee8ed1b7e09443.camel%40j-davis.com
This commit is contained in:
@ -1663,6 +1663,7 @@ typedef struct AggPath
|
||||
AggStrategy aggstrategy; /* basic strategy, see nodes.h */
|
||||
AggSplit aggsplit; /* agg-splitting mode, see nodes.h */
|
||||
double numGroups; /* estimated number of groups in input */
|
||||
Size transitionSpace; /* for pass-by-ref transition data */
|
||||
List *groupClause; /* a list of SortGroupClause's */
|
||||
List *qual; /* quals (HAVING quals), if any */
|
||||
} AggPath;
|
||||
@ -1700,6 +1701,7 @@ typedef struct GroupingSetsPath
|
||||
AggStrategy aggstrategy; /* basic strategy */
|
||||
List *rollups; /* list of RollupData */
|
||||
List *qual; /* quals (HAVING quals), if any */
|
||||
Size transitionSpace; /* for pass-by-ref transition data */
|
||||
} GroupingSetsPath;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user