Fix "no watchdog configuration for local pgpool node" error.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 13 Dec 2020 08:08:08 +0000 (17:08 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 13 Dec 2020 08:08:08 +0000 (17:08 +0900)
commitf52dfb78860e275af802eff329bb2d7f5838e324
tree237458bebe3abd38ce20f929b1a787025786acdb
parent294363c027ea0d9d4f62b8c4910b159a788ae831
Fix "no watchdog configuration for local pgpool node" error.

If watchdog is disabled and wd_port is not defined (thus it's 0, which
is the default config value), the error occurred while checking
configured watchdog nodes. If watchdog is disabled, the check should
not be performed. Back patch to V4.2 stable when watchdog local node
was introduced.
src/config/pool_config_variables.c