Обсуждение: pgsql: Fix best_inner_indexscan to actually enforce that an "inner

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

pgsql: Fix best_inner_indexscan to actually enforce that an "inner

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Fix best_inner_indexscan to actually enforce that an "inner indexscan" use
at least one join condition as an indexqual.  Before bitmap indexscans, this
oversight didn't really cost much except for redundantly considering the
same join paths twice; but as of 8.1 it could result in silly bitmap scans
that would do the same BitmapOr twice and then BitmapAnd these together :-(

Tags:
----
REL8_1_STABLE

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

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