diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-30 17:10:19 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-30 17:10:19 +0000 |
commit | bae3fefd4aecec5cbe94c1d67804f6ba7df0a203 (patch) | |
tree | 7bb0930f443446d77dc966c649dd8406516c9e24 /src/backend/utils/adt/numutils.c | |
parent | 150131d9d9208d53abbd63052866ab663ab1855e (diff) | |
download | postgresql-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