Re: strange explain

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: strange explain
Дата
Msg-id 29686.1021303499@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: strange explain  ("Rod Taylor" <rbt@zort.ca>)
Список pgsql-hackers
"Rod Taylor" <rbt@zort.ca> writes:
> Is this what the TODO entry 'Make IN / NOT IN have similar performance
> as EXISTS' means?

No.  The TODO item is talking about IN with a sub-SELECT, which is not
optimized at all at the moment.  IN with a list of scalar values is
converted to ((x = value1) OR (x = value2) OR ...), which we can do
something with.
        regards, tom lane


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

Предыдущее
От: "Rod Taylor"
Дата:
Сообщение: Re: strange explain
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Join of small table with large table