Fix watchdog_setup bug.
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 22 Aug 2025 06:35:48 +0000 (15:35 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 22 Aug 2025 06:35:48 +0000 (15:35 +0900)
commit384c17eaba1dad802c9f81b4057ba6ce76417e2d
treee2cd70a86f884ed4b8592d3d5a2b34773b560ac2
parent94b62a93c149bdaa7c546e387e479c287d3e10f9
Fix watchdog_setup bug.

Fix bug in commit 534e04a0e.

- If no argument is specified, watchdog_setup complains a shell script error.
- When VIP is requested, delegate_ip, if_up_cmd and if_up_cmd are
  added to pgpool.conf multiple times.

Reviewed-by: Bo Peng <pengbo@sraoss.co.jp
Author: Tatsuo Ishii <ishii@postgresql.org>
src/test/watchdog_setup.in