pgsql: Fix oversight in 8.0 modification of RestrictInfo data

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Fix oversight in 8.0 modification of RestrictInfo data
Дата
Msg-id 20051011164501.2FAB1D6FDF@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix oversight in 8.0 modification of RestrictInfo data structures.
A RestrictInfo representing an OR clause now contains two versions of
the contained expression, one with sub-RestrictInfos and one without.
clause_selectivity() should descend to the version with sub-RestrictInfos
so that it has a chance of caching its results for the OR's sub-clauses.
Failing to do so resulted in redundant planner effort.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/optimizer/path:
        clausesel.c (r1.72 -> r1.72.4.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/clausesel.c.diff?r1=1.72&r2=1.72.4.1)

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

Предыдущее
От: petere@pgfoundry.org (User Petere)
Дата:
Сообщение: psqlodbc - psqlodbc: Fix spelling of PostgreSQL.
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix oversight in 8.0 modification of RestrictInfo data