BUG #17235: PQsendQuery (with two sql) after PQenterPipelineMode cause ERROR

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: rekgrpth(at)gmail(dot)com
Subject: BUG #17235: PQsendQuery (with two sql) after PQenterPipelineMode cause ERROR
Date: 2021-10-18 11:09:09
Message-ID: 17235-53bb38fc5be593dc@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17235
Logged by: RekGRpth
Email address: rekgrpth(at)gmail(dot)com
PostgreSQL version: 14.0
Operating system: docker alpine
Description:

I use libpq in C.
I call PQsendQuery(conn, "select * from cats; select * from cats") after
PQenterPipelineMode.
This cause ERROR
cannot insert multiple commands into a prepared statement.
postgresql client 14
postgresql server 13.4

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-10-18 11:20:14 BUG #17236: Postgres core on pstate->p_multiassign_exprs
Previous Message Heikki Linnakangas 2021-10-18 09:59:56 Re: Snapshot leak warning with lo_export in subtransaction