Enhance pgpool_setup.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 2 Feb 2021 14:12:37 +0000 (23:12 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 2 Feb 2021 14:19:49 +0000 (23:19 +0900)
commit5cea91b646dfd0594a358d660f72188d1ce72ed5
tree483e34def89b0e3df42851ab385ea00c8e4b225f
parentb28816c9b96338551d2c5f219ad90143157e4f78
Enhance pgpool_setup.

"shutdownall" script unconditionally waited for the pgpool.pid file is
gone after "pgpool stop".  But if invalid pgpool.pid file exists, it
waits forever. To avoid this check the exit status of "pgpool stop"
and only wait if the exit status is 0.
src/test/pgpool_setup.in