aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-11-30 17:10:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-11-30 17:10:19 +0000
commitbae3fefd4aecec5cbe94c1d67804f6ba7df0a203 (patch)
tree7bb0930f443446d77dc966c649dd8406516c9e24 /src/backend/utils/adt/numutils.c
parent150131d9d9208d53abbd63052866ab663ab1855e (diff)
downloadpostgresql-bae3fefd4aecec5cbe94c1d67804f6ba7df0a203.tar.gz
postgresql-bae3fefd4aecec5cbe94c1d67804f6ba7df0a203.zip
Tweak choose_bitmap_and() heuristics in the light of example provided in bug
#2075: consider an index redundant if any of its index conditions were already used, rather than if all of them were. Also, make the selectivity comparison a bit fuzzy, so that very small differences in estimated selectivities don't skew the results.
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
0 files changed, 0 insertions, 0 deletions