pgsql: Fix a performance regression in 8.2: optimization of MIN/MAX into

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix a performance regression in 8.2: optimization of MIN/MAX into
Дата
Msg-id 20070206065026.35EBD9FB1C6@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix a performance regression in 8.2: optimization of MIN/MAX into indexscans
had stopped working for tables buried inside views or sub-selects.  This is
because I had gotten rid of the simplify_jointree() preprocessing step, and
optimize_minmax_aggregates() wasn't smart enough to deal with a non-canonical
FromExpr.  Per gripe from Bill Howe.

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        planagg.c (r1.25 -> r1.26)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planagg.c.diff?r1=1.25&r2=1.26)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Docs updates for cross-type hashing.
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix a performance regression in 8.2: optimization of MIN/MAX into