Skip to content
Snippets Groups Projects
Commit bae3fefd authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 150131d9
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment