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:12:37 +0000 (23:12 +0900)
commit644d72ef422e93a3b8db37975e436851f72b60f3
treeb0a8ac14c91b92bbe07b4b136866ed73ae6b267f
parentf1124c5775bdbb32e9949941fa85d0bd94afc0de
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