]> granicus.if.org Git - postgresql/commit
Improve planner's estimation of the space needed for HashAgg plans:
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Jan 2005 19:34:28 +0000 (19:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Jan 2005 19:34:28 +0000 (19:34 +0000)
commit0bf2587df46f3b554d62f7628d1d474bda7ddfc5
tree92f670d4d386d72eab646685648d6cf3f4a546eb
parentc3a4e22e826ca2cd2f1e1b6d6dd4ae953b6755f1
Improve planner's estimation of the space needed for HashAgg plans:
look at the actual aggregate transition datatypes and the actual overhead
needed by nodeAgg.c, instead of using pessimistic round numbers.
Per a discussion with Michael Tiemann.
src/backend/executor/nodeAgg.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/util/clauses.c
src/include/executor/nodeAgg.h
src/include/optimizer/clauses.h