]> granicus.if.org Git - postgresql/commit
Add an at-least-marginally-plausible method of estimating the number
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Nov 2002 23:22:00 +0000 (23:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Nov 2002 23:22:00 +0000 (23:22 +0000)
commitb60be3f2f8d094da79e04c6eda888f401b09dc39
tree0590e0647deb5041b8dabcabf03770ebef8e8d43
parent54cb1db6cf4d4bf4e44148582bbd2c99684e7dfd
Add an at-least-marginally-plausible method of estimating the number
of groups produced by GROUP BY.  This improves the accuracy of planning
estimates for grouped subselects, and is needed to check whether a
hashed aggregation plan risks memory overflow.
src/backend/executor/nodeAgg.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/plan/initsplan.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/plan/setrefs.c
src/backend/utils/adt/selfuncs.c
src/include/nodes/parsenodes.h
src/include/optimizer/planmain.h
src/include/utils/selfuncs.h