Re: Clarification on warning when connecting to 'pgbouncer' database via Pgbouncer

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shaik Mohammad Mujeeb <mujeeb(dot)sk(at)zohocorp(dot)com>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>, "mujeebskdev" <mujeeb(dot)sk(dot)dev(at)gmail(dot)com>
Subject: Re: Clarification on warning when connecting to 'pgbouncer' database via Pgbouncer
Date: 2025-05-27 23:21:05
Message-ID: 1357468.1748388065@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Shaik Mohammad Mujeeb <mujeeb(dot)sk(at)zohocorp(dot)com> writes:
> So, I feel that if we can reliably detect when the backend is a non-PostgreSQL server, it might be better to adjust the warning accordingly, rather than relying on a client-server version comparison in such cases.

The entire point of having a wire protocol is that you can't/don't
need to detect that. The short answer here is that this is
pgbouncer's bug and you should be nagging them to change, not us.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2025-05-27 23:23:47 Re: Speed up JSON escape processing with SIMD plus other optimisations
Previous Message Shaik Mohammad Mujeeb 2025-05-27 23:02:48 Re: Clarification on warning when connecting to 'pgbouncer' database via Pgbouncer