]> granicus.if.org Git - postgresql/commit
Reduce eqsel()'s fudge-factor for estimating the frequency of values
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 26 May 2000 17:19:15 +0000 (17:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 26 May 2000 17:19:15 +0000 (17:19 +0000)
commitb71761d2808a5b2d841bbccf193e326bdca0a52d
tree071f38de63a6bbf52597045f71472acc91e6e421
parentbe6e7717db53812248d89c2ee798bb80e54a00ee
Reduce eqsel()'s fudge-factor for estimating the frequency of values
other than the most common value in a column.  We had had 0.5, make it
0.1 to make it more likely that an indexscan will be chosen.  Really
need better statistics instead, but this should stem the bleeding
meanwhile ...
src/backend/utils/adt/selfuncs.c