Re: IN, EXISTS or ANY?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: IN, EXISTS or ANY?
Дата
Msg-id web-1387410@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на Re: IN, EXISTS or ANY?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Tom,

> But EXISTS is an entirely different animal which is often faster
> ... isn't that in the FAQ?

OK, still true, then hey?  So for subqueries where I expect a
medium-to-large result set, I should use EXISTS.  Got it.

BTW, just tried the new CURSOR implementation for PL/pgSQL for the
first time.  Nice work, guys!

-Josh


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: IN, EXISTS or ANY?
Следующее
От: Joseph Barillari
Дата:
Сообщение: Temporary table weirdness