Re: Planner matching constants across tables in a join

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Planner matching constants across tables in a join
Дата
Msg-id 19225.1046876918@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Planner matching constants across tables in a join  (Greg Stark <gsstark@mit.edu>)
Список pgsql-performance
Greg Stark <gsstark@mit.edu> writes:
> Richard Huxton <dev@archonet.com> writes:
>> If I join two tables with a comparison to a constant on one, why can't the
>> planner see that the comparison applies to both tables:

> It sure does. Postgres does an impressive job of tracing equality clauses
> around for just this purpose.

CVS tip does.  Existing releases don't...

            regards, tom lane

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Planner matching constants across tables in a join
Следующее
От: Tom Lane
Дата:
Сообщение: Re: OIDs as keys