Fix HashAgg regression from choosing too many initial buckets.

Jeff Davis <jdavis@postgresql.org>

Commit: 2174d40117f62099c7b11a2d43d163b7b9271d39
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2020-06-09T04:08:24Z
Releases: 13.0
Fix HashAgg regression from choosing too many initial buckets.

Diagnosis by Andres.

Reported-by: Pavel Stehule
Discussion: https://postgr.es/m/CAFj8pRDLVakD5Aagt3yZeEQeTeEWaS3YE5h8XC3Q3qJ6TYkc2Q%40mail.gmail.com
Backpatch-through: 13

Files

PathChange+/−
src/backend/executor/nodeAgg.c modified +2 −6

Discussion