pgsql: When a bitmap indexscan is using a partial index, it is necessary

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: When a bitmap indexscan is using a partial index, it is necessary
Дата
Msg-id 20060518185731.CC5C29FA2EB@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
When a bitmap indexscan is using a partial index, it is necessary to include
the partial index predicate in the scan's "recheck condition".  Otherwise,
if the scan becomes lossy for lack of bitmap memory, we would fail to enforce
that returned rows satisfy the predicate.  Noted while studying bug #2441
from Arjen van der Meijden.

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        createplan.c (r1.210 -> r1.211)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/createplan.c.diff?r1=1.210&r2=1.211)

В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Allow sparcv8plus to use "cas".
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: When a bitmap indexscan is using a partial index, it is necessary