pgsql: Refactor hash_agg_entry_size().

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Refactor hash_agg_entry_size().
Date: 2020-02-06 20:09:07
Message-ID: E1iznSV-0005Aw-0I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7d4395d0a11589aa450a073d658c49b420f4493f

Modified Files
--------------
src/backend/executor/nodeAgg.c | 23 ++++++++---------------
src/backend/optimizer/plan/planner.c | 9 ++-------
src/backend/utils/adt/selfuncs.c | 12 ++----------
src/include/executor/nodeAgg.h | 3 ++-
4 files changed, 14 insertions(+), 33 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2020-02-06 20:29:11 pgsql: Ensure relcache consistency around generated columns
Previous Message Jeff Davis 2020-02-06 18:30:06 pgsql: Logical Tape Set: use min heap for freelist.