pgpool2.git / summary / log / commit / refs

commit    78868886084d1c339f6652fd7ccdccbc8ff571ef
Author:   Tatsuo Ishii <ishii at sraoss.co.jp>
Date:     Fri Nov 12 08:09:32 2010 +0000

    Fix load_hba() not to exit(1) if error occurs.
    If exit(1) is issued, pgpool main exits but children remain,
    which is not good.


pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool.h b/pool.h index 1613044de..8773e9c6a 100644 --- a/pool.h +++ b/pool.h @@ -534,7 +534,7 @@ extern int pool_clear_cache_by_time(Interval *interval, int size); extern POOL_STATUS pool_execute_query_cache_lookup(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *backend, Node *node); /* pool_hba.c */ -extern void load_hba(char *hbapath); +extern int load_hba(char *hbapath); extern void ClientAuthentication(POOL_CONNECTION *frontend); /* pool_ip.c */ [parent: 2db74c7b3a03]