| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | Konstantin Izmailov <pgfizm(at)gmail(dot)com> |
| Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: assembling PGresults from multiple simultaneous queries (libpq, singlerowmode) |
| Date: | 2019-04-07 18:57:56 |
| Message-ID: | CAFj8pRATA2yYv7rN3E86rJ9h7QLhskTbOmNi-f6qQ47wMvzieg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi
ne 7. 4. 2019 v 20:47 odesílatel Konstantin Izmailov <pgfizm(at)gmail(dot)com>
napsal:
> 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)?
>
>
Postgres cannot to execute simultaneous queries in one session. So queries
should be executed in serial form every time.
Regards
Pavel
> 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
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | senor | 2019-04-07 19:05:37 | Re: pg_upgrade --jobs |
| Previous Message | Konstantin Izmailov | 2019-04-07 18:45:53 | assembling PGresults from multiple simultaneous queries (libpq, singlerowmode) |