From: cosgroveb (@cosgroveb) <noreply+cosgroveb@github.com>
To: pgbouncer/pgbouncer <noreply+pgbouncer-pgbouncer@github.com>
Subject: Re: [pgbouncer/pgbouncer] issue #1705: `DEALLOCATE` of a single prepared statement name breaks the session
Date: Fri, 13 Nov 2026 18:38:26 +0000
Message-ID: <gh-pgbouncer-pgbouncer-1705-c6861754245@github.com> (raw)
In-Reply-To: <gh-pgbouncer-pgbouncer-1705@github.com>
References: <gh-pgbouncer-pgbouncer-1705@github.com>
Thanks for the report.
PgBouncer forwards SQL `DEALLOCATE` to Postgres without rewriting the statement name, which is a [documented limitation of max_prepared_statements](https://www.pgbouncer.org/config.html#max_prepared_statements).