Re: More WITH

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: More WITH
Дата
Msg-id CA+Tgmobba9d6O97LTfyo0PAQKf_gGY9xZytFcF=APVcDJE7LLA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: More WITH  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: More WITH
Список pgsql-hackers
On Tue, Aug 18, 2015 at 11:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> More generally, what would you hope to accomplish with such a construct
> that wouldn't be better done by writing the cursor's underlying query
> directly in the WITH clause?

Maybe I'm stupid today, but it seems like the obvious use case would
be fetching some but not all rows from the cursor?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Warnings around booleans
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Reduce ProcArrayLock contention