pgsql: Tweak choose_bitmap_and() heuristics in the light of example - Mailing list pgsql-committers

From [email protected] (Tom Lane)
Subject pgsql: Tweak choose_bitmap_and() heuristics in the light of example
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/optimizer/path:
        indxpath.c (r1.191.2.2 -> r1.191.2.3)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/indxpath.c.diff?r1=1.191.2.2&r2=1.191.2.3)

pgsql-committers by date:

Previous
From: [email protected] (User Chriskl)
Date:
Subject: mysqlcompat - mysqlcompat: Almost every MySQL string function
Next
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Tweak choose_bitmap_and() heuristics in the light of example