]> granicus.if.org Git - postgresql/commit
Split out into a separate function the code in grouping_planner() that
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Apr 2005 19:50:08 +0000 (19:50 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Apr 2005 19:50:08 +0000 (19:50 +0000)
commit6985592967b535bfc31a0c7adad329956e203060
tree1920c9b6c209ceb2f6bdb448315b9d5b76190899
parent313de22c853bb00564c876ab1c1a3b64cb7eb0ee
Split out into a separate function the code in grouping_planner() that
decides whether to use hashed grouping instead of sort-plus-uniq
grouping. The function needs an annoyingly large number of parameters,
but this still seems like a win for legibility, since it removes over
a hundred lines from grouping_planner (which is still too big :-().
src/backend/optimizer/plan/planner.c