]> 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:36:33 +0000 (19:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Jan 2005 19:36:33 +0000 (19:36 +0000)
commita098f533d15efe5552c0b6cd661cc123231c8c54
treeebe55a8f91b584c66805ad50600647a1a756d2c4
parentaf5cd5ba92036f07f8414b15ec96da096ded8d7e
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