Fixes for Disk-based Hash Aggregation.
authorJeff Davis <jdavis@postgresql.org>
Mon, 23 Mar 2020 20:56:28 +0000 (13:56 -0700)
committerJeff Davis <jdavis@postgresql.org>
Mon, 23 Mar 2020 22:43:07 +0000 (15:43 -0700)
commit64fe6022790920ef6edee475bfa162a961f148d8
tree74feb997972baf2ce5cf8b2f80ff6eaa912ac755
parent0830d21f5b01064837dc8bd910ab31a5b7a1101a
Fixes for Disk-based Hash Aggregation.

Justin Pryzby raised a couple issues with commit 1f39bce0. Fixed.

Also, tweak the way the size of a hash entry is estimated and the
number of buckets is estimated when calling BuildTupleHashTableExt().

Discussion: https://www.postgresql.org/message-id/20200319064222.GR26184@telsasoft.com
src/backend/commands/explain.c
src/backend/executor/nodeAgg.c