Re: a very big table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: a very big table
Дата
Msg-id 13636.1112575812@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: a very big table  (PFC <lists@boutiquenumerique.com>)
Список pgsql-sql
PFC <lists@boutiquenumerique.com> writes:
>     Here you don't need to LEFT JOIN, you can use a straight simple  
> unconstrained join because the rows generated by the LEFT JOINs which have  
> NULL in the right columns will be rejected by the WHERE clause anyway :

In recent versions of Postgres, the planner knows this and can make the
simplification for itself, at least if the operator or function used in
WHERE is properly marked as strict.
        regards, tom lane


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

Предыдущее
От: Axel Straschil
Дата:
Сообщение: Re: How to store directory like structures?
Следующее
От: "Michael L. Hostbaek"
Дата:
Сообщение: select & group by