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

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: libpq sendQuery -- getResult not returning until all queries complete
Дата
Msg-id AANLkTikQRgmbowQsC-2S9d1K_A5fdrgfJkYd23bN_NWr@mail.gmail.com
обсуждение исходный текст
Ответ на libpq sendQuery -- getResult not returning until all queries complete  (Kelly Burkhart <kelly.burkhart@gmail.com>)
Ответы Re: libpq sendQuery -- getResult not returning until all queries complete  (Merlin Moncure <mmoncure@gmail.com>)
Re: libpq sendQuery -- getResult not returning until all queries complete  (Kelly Burkhart <kelly.burkhart@gmail.com>)
Список pgsql-general
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.

Don't forget to free memory with PQclear() . I guess you omitted that
because it's just pseudo-code.

--
Regards,
Peter Geoghegan

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

Предыдущее
От: Jeremy Harris
Дата:
Сообщение: Re: Can the query planner create indexes?
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Can the query planner create indexes?