Euler Taveira
Euler Taveira
You didn't show your `pg_hba.conf`. Per _SASL authentication failed_ message, your are using SCRAM-SHA-256 authentication method. What's the exact error message in the `pgbouncer.log` when the connection failed? If you...
_PS: don't use the same HBA file for Postgres and PgBouncer. The latter doesn't support all Postgres features._
That's because of commit 8579de3. If you are using version 17, you should use at least 2.4.5.
@MarinaPolyakova I'm using the same pattern as contrib modules. It is also in the [documentation](https://www.postgresql.org/docs/current/extend-extensions.html#EXTEND-EXTENSIONS-EXAMPLE). Are you planning to submit this change to Postgres?
It is hard to say without your configuration file. One option that causes this behavior is [min_pool_size](https://www.pgbouncer.org/config.html#min_pool_size).
Did you identify the same session in the PgBouncer logs? What are the exact messages?
Could you provide the output of the following extension commands showing the issue? ``` SET log_min_messages TO debug1; CREATE EXTENSION pglogical VERSION '2.2.0'; ALTER EXTENSION pglogical UPDATE TO '2.4.5'; ```...