From 16e4390b731e4e52b063ad5291652126d5947666 Mon Sep 17 00:00:00 2001 From: Charlie Orford Date: Thu, 21 Feb 2019 03:11:43 +0000 Subject: [PATCH] Added schema prefix to pgbouncer_auth_query --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 54c77c3..7ab9934 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -19,7 +19,7 @@ pgbouncer_stats_users: ["pgbouncer"] pgbouncer_auth_user: "pgbouncer" pgbouncer_auth_type: "md5" # Note: at the moment only the md5 auth type is supported pgbouncer_auth_file: "/etc/pgbouncer/auth.conf" -pgbouncer_auth_query: "SELECT uname, phash from user_lookup($1)" # See README for more info +pgbouncer_auth_query: "SELECT uname, phash FROM pgbouncer.user_lookup($1)" # Tailor to your security definer function (see README for more info) pgbouncer_pool_mode: "transaction" pgbouncer_default_client_encoding: "UNICODE" pgbouncer_max_client_conn: 800