[Pgpool-committers] pgpool - pgpool-II: Add health_check_password directive.
User T-ishii
t-ishii at pgfoundry.org
Wed Jul 6 14:00:22 UTC 2011
Log Message:
-----------
Add health_check_password directive.
Enhance check_replication_time_lag() error message.
Patch contributed by Nicolas Thauvin.
His message:
We are currently not able to specify the password of the health check
user, which is needed at least for streaming replication lag. So I
added the possibility to specify it in the configuration file, in the
attached patch.
Also, I find the error message in check_replication_time_lag()
(pool_worker_child.c) not friendly :
pool_error("check_replication_time_lag: DB node is valid but no
persistent connection");
What about sending this error message to the debug level and adding a
second message on the error level? Fro example:
pool_error("check_replication_time_lag: could not connect to DB node %d,
check health check configuration", i);
Modified Files:
--------------
pgpool-II:
pgpool.conf.sample (r1.46 -> r1.47)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pgpool.conf.sample?r1=1.46&r2=1.47)
pgpool.conf.sample-master-slave (r1.20 -> r1.21)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pgpool.conf.sample-master-slave?r1=1.20&r2=1.21)
pgpool.conf.sample-replication (r1.18 -> r1.19)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pgpool.conf.sample-replication?r1=1.18&r2=1.19)
pgpool.conf.sample-stream (r1.13 -> r1.14)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pgpool.conf.sample-stream?r1=1.13&r2=1.14)
pool_config.c (r1.61 -> r1.62)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_config.c?r1=1.61&r2=1.62)
pool_config.h (r1.14 -> r1.15)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_config.h?r1=1.14&r2=1.15)
pool_config.l (r1.57 -> r1.58)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_config.l?r1=1.57&r2=1.58)
pool_worker_child.c (r1.9 -> r1.10)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_worker_child.c?r1=1.9&r2=1.10)
pgpool-II/doc:
pgpool-en.html (r1.95 -> r1.96)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/doc/pgpool-en.html?r1=1.95&r2=1.96)
pgpool-ja.html (r1.134 -> r1.135)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/doc/pgpool-ja.html?r1=1.134&r2=1.135)
More information about the Pgpool-committers
mailing list