pgsql: Improve create_unique_path to not be fooled by unrelated clauses

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Improve create_unique_path to not be fooled by unrelated clauses
Дата
Msg-id 20090227000628.193237559ED@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Improve create_unique_path to not be fooled by unrelated clauses that happen
to be syntactically part of a semijoin clause.  For example given
WHERE EXISTS(SELECT ... WHERE upper.var = lower.var AND some-condition)
where some-condition is just a restriction on the lower relation, we can
use unique-ification on lower.var after having applied some-condition within
the scan on lower.

Modified Files:
--------------
    pgsql/src/backend/optimizer/util:
        pathnode.c (r1.149 -> r1.150)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/pathnode.c?r1=1.149&r2=1.150)

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

Предыдущее
От: karl@pgfoundry.org (User Karl)
Дата:
Сообщение: pgtcl - libpgtcl: Make PostgreSQL helpers "res_dont_care" and
Следующее
От: petere@postgresql.org (Peter Eisentraut)
Дата:
Сообщение: pgsql: Fix the inconsistent and wrong claims that the option value in