Refactor hash_agg_entry_size().
Jeff Davis <jdavis@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeAgg.c | modified | +8 −15 |
| src/backend/optimizer/plan/planner.c | modified | +2 −7 |
| src/backend/utils/adt/selfuncs.c | modified | +2 −10 |
| src/include/executor/nodeAgg.h | modified | +2 −1 |