Re: (Comment)Bug in CteScanNext
От | Jim Nasby |
---|---|
Тема | Re: (Comment)Bug in CteScanNext |
Дата | |
Msg-id | 88b70b80-be5a-064c-155a-0a32a7395890@BlueTreble.com обсуждение исходный текст |
Ответ на | Re: (Comment)Bug in CteScanNext (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: (Comment)Bug in CteScanNext
|
Список | pgsql-hackers |
On 9/3/16 1:30 PM, Tom Lane wrote: > Or we could add something like "But first, we must deal with the special > case of reversing direction after reaching EOF." I'm working on that, but one thing isn't clear to me... why do we only skip past the last tuple if (!node->leader->eof_cte)? Even if we've hit the end of the underlying node, the tuplestore could still return data, and AFAICT we would still need to move past the last item in the tuplestore, no? -- 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 по дате отправления: