Refactor hash_agg_entry_size().

Jeff Davis <jdavis@postgresql.org>

Commit: 7d4395d0a11589aa450a073d658c49b420f4493f
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2020-02-06T19:49:56Z
Releases: 13.0
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