Re: [GENERAL] Retrieving query results

Поиск
Список
Период
Сортировка
Искать
От
Igor Korot
Тема
Re: [GENERAL] Retrieving query results
Дата
Msg-id
CA+FnnTwY0mZ1cO8hhBW2sOOGjXaVqfhECUKL6S_cZ6z2LUfcQw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: [GENERAL] Retrieving query results Tom Lane <tgl@sss.pgh.pa.us>
Re: [GENERAL] Retrieving query results Michael Paquier <michael.paquier@gmail.com>
Re: [GENERAL] Retrieving query results Tom Lane <tgl@sss.pgh.pa.us>
Re: [GENERAL] Retrieving query results Michael Paquier <michael.paquier@gmail.com>
Re: [GENERAL] Retrieving query results Tom Lane <tgl@sss.pgh.pa.us>
Re: [GENERAL] Retrieving query results Michael Paquier <michael.paquier@gmail.com>
Re: [GENERAL] Retrieving query results Igor Korot <ikorot01@gmail.com>
Re: [GENERAL] Retrieving query results Laurenz Albe <laurenz.albe@cybertec.at>
Re: [GENERAL] Retrieving query results Igor Korot <ikorot01@gmail.com>
Re: [GENERAL] Retrieving query results Igor Korot <ikorot01@gmail.com>
Re: [GENERAL] Retrieving query results Tom Lane <tgl@sss.pgh.pa.us>
Re: [GENERAL] Retrieving query results Igor Korot <ikorot01@gmail.com>
Michael et al,

On Thu, Aug 24, 2017 at 6:57 PM, Michael Paquier
 wrote:
> On Thu, Aug 24, 2017 at 11:56 PM, Tom Lane  wrote:
>> I haven't tried it, but it sure looks like it would, if you don't hit
>> OOM first.  pqAddTuple() isn't doing anything to guard against integer
>> overflow.  The lack of reports implies that no one has ever tried to
>> retrieve even 1G rows, let alone more ...
>
> Yeah, looking at the code we would just need to check if ntups gets
> negative (well, equal to INT_MIN) after being incremented.

So there is no way to retrieve an arbitrary number of rows from the query?
That sucks...

Thank you.

> --
> Michael

В списке pgsql-general по дате отправления
От: Michael Paquier
Дата:
От: Tom Lane
Дата:
FAQ