Re: (Comment)Bug in CteScanNext

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: (Comment)Bug in CteScanNext
Дата
Msg-id 70a33d9c-9536-2c90-7ef9-b69ad0f213d5@BlueTreble.com
обсуждение исходный текст
Ответ на Re: (Comment)Bug in CteScanNext  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 9/6/16 12:00 PM, Tom Lane wrote:
> On the other hand, if eof_cte is true, then what happened on the last
> call is that we tried to fetch forwards, reached EOF on the underlying
> query, and returned NULL.  In that case, a backwards fetch *should*
> produce the last row in the tuplestore.

Patch attached.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Is tuplesort_heap_siftup() a misnomer?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: GiST penalty functions [PoC]