mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Refactor hash_agg_entry_size().
Consolidate the calculations for hash table size estimation. This will help with upcoming Hash Aggregation work that will add additional call sites.
This commit is contained in:
@@ -309,6 +309,7 @@ extern AggState *ExecInitAgg(Agg *node, EState *estate, int eflags);
|
||||
extern void ExecEndAgg(AggState *node);
|
||||
extern void ExecReScanAgg(AggState *node);
|
||||
|
||||
extern Size hash_agg_entry_size(int numAggs);
|
||||
extern Size hash_agg_entry_size(int numAggs, Size tupleWidth,
|
||||
Size transitionSpace);
|
||||
|
||||
#endif /* NODEAGG_H */
|
||||
|
Reference in New Issue
Block a user