Fix per node health check parameters ignored.
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 19 Dec 2017 01:09:46 +0000 (10:09 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 19 Dec 2017 01:12:02 +0000 (10:12 +0900)
commitbb1a1ce9aa0f840685fe27f676627895362d4ee4
tree8e7356319dc2a99453b1d0bb301b5acb4825e68a
parent21a5a541340f37a06eb37b593229c63222899e2d
Fix per node health check parameters ignored.

Per bug 371. Back patch to the 3.7 stable tree where the feature was
introduced.

Also pgpool_setup is modified to add appropriate per node health check
parameters to pgpool.conf.  This is necessary because
pgpool.conf.sample sets health_check_user0 to 'nobody', which
immediately causes health check failure on DB node 0.
src/main/health_check.c
src/test/pgpool_setup