From: Marko Kreen Date: Tue, 11 Sep 2007 08:41:36 +0000 (+0000) Subject: dont load users if auth_type=any X-Git-Tag: pgbouncer_1_1~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03cd333095421ad7acec126138b96756da1b1a37;p=pgbouncer dont load users if auth_type=any --- diff --git a/src/janitor.c b/src/janitor.c index f850413..4c81487 100644 --- a/src/janitor.c +++ b/src/janitor.c @@ -463,7 +463,8 @@ static void do_full_maint(int sock, short flags, void *arg) exit(0); } - loader_users_check(); + if (cf_auth_type >= AUTH_TRUST) + loader_users_check(); skip: evtimer_add(&full_maint_ev, &full_maint_period);