Re: can't get async mode to deliver small batches of rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: can't get async mode to deliver small batches of rows
Дата
Msg-id 24979.1085123235@sss.pgh.pa.us
обсуждение исходный текст
Ответ на can't get async mode to deliver small batches of rows  (Mark Harrison <mh@pixar.com>)
Список pgsql-general
Mark Harrison <mh@pixar.com> writes:
> I can't seem to get PG into non-blocking mode.

"Non-blocking" does not mean "will deliver an incomplete result".
It just means you can get control back while waiting for the complete
result (though not with the code you show...)

You probably want to think about creating a cursor and FETCHing
a few rows per query.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: reading vacuum verbosity
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Porting SQL Server 2000 database to PostgreSQL