Fix HashAgg regression from choosing too many initial buckets.

Jeff Davis <jdavis@postgresql.org>

Commit: 1b2c29469a58cd9086bd86e20c708eb437564a80
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2020-06-09T04:04:16Z
Releases: 14.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