assembling PGresults from multiple simultaneous queries (libpq, singlerowmode)

Поиск
Список
Период
Сортировка
От Konstantin Izmailov
Тема assembling PGresults from multiple simultaneous queries (libpq, singlerowmode)
Дата
Msg-id CAAw-Msc4EOv-MKHBBmeVKnCQMnHLHzBXD1Z1a0enAurUKg0FrQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: assembling PGresults from multiple simultaneous queries (libpq, singlerowmode)  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
Hi,
I'm experimenting with Postgres 10 and protocol v3. I noticed that the Postgres allows executing multiple queries simultaneously (I basically commented out a check that prevents sending another query in libpq while previous result(s) reading is not complete). Things appear like working, but I just wanted to ask if anyone else tried the same (logically separate results from multiple simultaneous queries)?

Afaik libpq was not designed for that scenario, but it seems the Postgres server supports it. Any thought or information will be appreciated.

Thank you!
Konstantin

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_upgrade --jobs
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: assembling PGresults from multiple simultaneous queries (libpq, singlerowmode)