From: Yoshiyuki Asaba Date: Fri, 12 Oct 2007 04:14:57 +0000 (+0000) Subject: Add authentication_timeout into the result of "show pool_status". X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=81b167ac7b8b6eca56b533e54075ad807f621348;p=pgpool1.git Add authentication_timeout into the result of "show pool_status". --- diff --git a/pool_process_query.c b/pool_process_query.c index 41f689b..fcf7ee2 100644 --- a/pool_process_query.c +++ b/pool_process_query.c @@ -2353,6 +2353,11 @@ static void process_reporting(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *b status[i].desc = "max # of connection pool per child"; i++; + status[i].name = "authentication_timeout"; + snprintf(status[i].value, MAXVALLEN, "%d", pool_config.authentication_timeout); + status[i].desc = "maximum time in seconds to complete client authentication"; + i++; + status[i].name = "logdir"; snprintf(status[i].value, MAXVALLEN, "%s", pool_config.logdir); status[i].desc = "logging directory";