Fix costing for disk-based hash aggregation.
authorJeff Davis <jdavis@postgresql.org>
Sat, 28 Mar 2020 17:53:01 +0000 (10:53 -0700)
committerJeff Davis <jdavis@postgresql.org>
Sat, 28 Mar 2020 19:07:49 +0000 (12:07 -0700)
commit7351bfeda33b60b69c15791c7eb77a127546df26
tree816fa39e498d0a2da1837eb74fae9b70f06e73bb
parent4083f445c0cbda2eacb6b17297f9d555397e5eaa
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
src/backend/executor/nodeAgg.c
src/backend/optimizer/path/costsize.c