diff --git a/ansible/files/pgbouncer_config/pgbouncer.ini.j2 b/ansible/files/pgbouncer_config/pgbouncer.ini.j2 index e4518c0076..2085d44c6c 100644 --- a/ansible/files/pgbouncer_config/pgbouncer.ini.j2 +++ b/ansible/files/pgbouncer_config/pgbouncer.ini.j2 @@ -122,6 +122,7 @@ auth_file = /etc/pgbouncer/userlist.txt ;; Query to use to fetch password from database. Result ;; must have 2 columns - username and password hash. auth_query = SELECT * FROM pgbouncer.get_auth($1) +auth_dbname = postgres ;;; ;;; Users allowed into database 'pgbouncer'