I’m connecting to pgbouncer
via psycopg==3.1.19
and trying to perform a SHOW STATS
(which pgbouncer itself will answer, it’s not sent to postgresql)
I’m getting a ProtocolViolation: extended query protocol not supported by admin console
from pgbouncer
itself.
I had a look at psycopg 3 documentation, and the connect() does not seem to have anything about “extended query protocol”.
So it’s there any way to disable this extended query protocol in psycopg 3 or my only option is to downgrade to psycopg 2?