Fix costing for disk-based hash aggregation.

Jeff Davis <jdavis@postgresql.org>

Commit: 7351bfeda33b60b69c15791c7eb77a127546df26
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2020-03-28T19:07:49Z
Releases: 13.0
Fix costing for disk-based hash aggregation.

Report and suggestions from Richard Guo and Tomas Vondra.

Discussion: https://postgr.es/m/CAMbWs4_W8fYbAn8KxgidAaZHON_Oo08OYn9ze=7remJymLqo5g@mail.gmail.com

Files

PathChange+/−
src/backend/executor/nodeAgg.c modified +2 −0
src/backend/optimizer/path/costsize.c modified +14 −16

Discussion