]> granicus.if.org Git - postgresql/commit
Adjust estimate_num_groups() to not clamp per-relation group count
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Feb 2005 23:09:00 +0000 (23:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Feb 2005 23:09:00 +0000 (23:09 +0000)
commit914db102894754802bdf5ad0ce94dfd29f45c1d9
tree42bd69f76c66df4b82e5b63efc2e5579a253f174
parent86206573ede6f6fa85af57f6b70549e6f1d3f56e
Adjust estimate_num_groups() to not clamp per-relation group count
estimate to less than the number of values estimated for any one grouping
Var, as suggested by Manfred.  This is intuitively right, and what's
more it puts the plan choices in the subselect regression test back the
way they were before ...
src/backend/utils/adt/selfuncs.c
src/test/regress/expected/subselect.out