[Pgpool-hackers] health_check_password configuration option
Nicolas Thauvin
nicolas.thauvin at dalibo.com
Wed Jul 6 12:02:54 UTC 2011
Hello,
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);
Regards,
--
Nicolas Thauvin
DBA
http://www.dalibo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: health_check_password.patch
Type: text/x-patch
Size: 5440 bytes
Desc: not available
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110706/93acddea/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110706/93acddea/attachment-0001.bin>
More information about the Pgpool-hackers
mailing list