]> 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:08:13 +0000 (23:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Feb 2005 23:08:13 +0000 (23:08 +0000)
commita3f945a1b2b3451c02534abee8f4e421d3cfbfd3
tree745498d7d5b1fbd1da4d0116e3ce2768894c2124
parent48522fd30d290a2974d906a31fc7a9a0a530f9f7
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