Re: Feature request: Settings to disable comments and multiple statements in a connection

Dominique Devienne <ddevienne@gmail.com>

From: Dominique Devienne <ddevienne@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Glen K <glenk1973@hotmail.com>, "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-06-10T08:02:30Z
Lists: pgsql-general
On Thu, Jun 5, 2025 at 1:06 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > Provide a client connection option (and/or implement the backend support) to allow only one statement in an execute request
>
> This exists already; you just have to use the extended query protocol.

Hi Tom. Can you be more specific please?
In the context of LibPQ, in case it matters.
TIA, --DD