pgpool2.git / summary / log / commit / refs

commit    49001d6cc4e24f5d4b2f94894c3852c8cda9749d
Author:   Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date:     Wed Oct 31 04:15:03 2007 +0000

    Allow to reload pcp_timeout.


pool_config.l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pool_config.l b/pool_config.l index 772c2c1ea..0eae51176 100644 --- a/pool_config.l +++ b/pool_config.l @@ -334,7 +334,8 @@ int pool_get_config(char *confpath, POOL_CONFIG_CONTEXT context) } pool_config->pcp_socket_dir = str; } - else if (!strcmp(key, "pcp_timeout") && CHECK_CONTEXT(INIT_CONFIG, context)) + else if (!strcmp(key, "pcp_timeout") && + CHECK_CONTEXT(INIT_CONFIG|RELOAD_CONFIG, context)) { int v = atoi(yytext); [parent: 051971e11f85]