Re: Clarification on warning when connecting to 'pgbouncer' database via Pgbouncer - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Clarification on warning when connecting to 'pgbouncer' database via Pgbouncer
Date
Msg-id 1352954.1748385255@sss.pgh.pa.us
Whole thread Raw
In response to Re: Clarification on warning when connecting to 'pgbouncer' database via Pgbouncer  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-hackers
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tue, May 27, 2025 at 3:08 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Yeah.  I'd say the fundamental problem is that pgbouncer is abusing
>> the server_version parameter, which will break plenty of things
>> besides psql --- pg_dump for instance

> They proxy over the real server information during actual bouncer work -
> it's just their local administrative database connection - one that isn't
> proxied - that is at issue here.

Okay, but they're still abusing the wire protocol: server_version is
supposed to be a Postgres version, not some random number.  My advice
to them would be to make up their mind which PG version they intend
their "local administrative database" to act like, and put that in
server_version.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Clarification on warning when connecting to 'pgbouncer' database via Pgbouncer
Next
From: Shaik Mohammad Mujeeb
Date:
Subject: Re: Clarification on warning when connecting to 'pgbouncer' database via Pgbouncer