pgsql: When building a bitmap scan, must copy the bitmapqualorig

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: When building a bitmap scan, must copy the bitmapqualorig
Дата
Msg-id 20060129185549.312999DC9AD@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
When building a bitmap scan, must copy the bitmapqualorig expression tree
to avoid sharing substructure with the lower-level indexquals.  This is
currently only an issue if there are SubPlans in the indexquals, which is
uncommon but not impossible --- see bug #2218 reported by Nicholas Vinen.
We use the same kluge for indexqual vs indexqualorig in the index scans
themselves ... would be nice to clean this up someday.

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

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

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix Assert that's no longer correct now that RowCompareExpr is
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: When building a bitmap scan, must copy the bitmapqualorig