Re: libpq sendQuery -- getResult not returning until all queries complete

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: libpq sendQuery -- getResult not returning until all queries complete
Дата
Msg-id AANLkTimwnEKZuEpbc9yYiv+sLDDfmPR9s48w2W0obPYP@mail.gmail.com
обсуждение исходный текст
Ответ на Re: libpq sendQuery -- getResult not returning until all queries complete  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Ответы Re: libpq sendQuery -- getResult not returning until all queries complete  (Kelly Burkhart <kelly.burkhart@gmail.com>)
Список pgsql-general
On Tue, Dec 21, 2010 at 2:21 PM, Peter Geoghegan
<peter.geoghegan86@gmail.com> wrote:
> You can't concurrently execute queries from within a single
> connection. Perhaps you should use multiple connections, while
> understanding the implications of having each operate within a
> separate snapshot.

OP is not suggesting that queries run concurrently, but asking why
result sets can't be popped off as the queries resolve.  It's a good
question; it's probably either a bug in the database or the
documentation (if it does not turn out to be operator error).

Kelly, if you can produce small test case in C I'll double check it.

merlin

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Can the query planner create indexes?
Следующее
От: Kelly Burkhart
Дата:
Сообщение: Re: libpq sendQuery -- getResult not returning until all queries complete