Обсуждение: pgsql: Revert my best_inner_indexscan patch of yesterday, which turns

Поиск
Список
Период
Сортировка

pgsql: Revert my best_inner_indexscan patch of yesterday, which turns

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Revert my best_inner_indexscan patch of yesterday, which turns out to have
had a bad side-effect: it stopped finding plans that involved BitmapAnd
combinations of indexscans using both join and non-join conditions.  Instead,
make choose_bitmap_and more aggressive about detecting redundancies between
BitmapOr subplans.

Tags:
----
REL8_1_STABLE

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

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