Refactor hash_agg_entry_size().
authorJeff Davis <[email protected]>
Thu, 6 Feb 2020 19:49:56 +0000 (11:49 -0800)
committerJeff Davis <[email protected]>
Thu, 6 Feb 2020 19:49:56 +0000 (11:49 -0800)
commit7d4395d0a11589aa450a073d658c49b420f4493f
treeb9be6165922e73d2351d8565f9051184ae56f036
parentc02fdc9223015c5c386abfa00c47fc7f4c845161
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.
src/backend/executor/nodeAgg.c
src/backend/optimizer/plan/planner.c
src/backend/utils/adt/selfuncs.c
src/include/executor/nodeAgg.h