Re: How to use index in WHERE int = float

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to use index in WHERE int = float
Дата
Msg-id 5081.1225930417@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to use index in WHERE int = float  ("Andrus" <kobruleht2@hot.ee>)
Ответы Re: How to use index in WHERE int = float  ("Andrus" <kobruleht2@hot.ee>)
Список pgsql-general
"Andrus" <kobruleht2@hot.ee> writes:
> As you see simply removing constant expression
>  '0' or
> produces different query plan which is much faster for large amoutnts of
> data.

The IN-pullup code runs before constant-simplification does, so it
doesn't see that as a simple join condition.

            regards, tom lane

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Read only access, via functions only
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: Are there plans to add data compression feature to postgresql?