Fix show pool_nodes when pg_isready is not in command search path.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 2 Apr 2021 05:14:08 +0000 (14:14 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 2 Apr 2021 05:14:08 +0000 (14:14 +0900)
commit44df06cd32bf46817f4e2e43283cb13f195703e6
tree3cd6c6e11c2f2e260c4c2c3a6729f805918b1b52
parent4462f9f1367ec3d22274af28777b084fb9f198ea
Fix show pool_nodes when pg_isready is not in command search path.

If pg_isready is not in the command search path, show pool_node's
"pg_status" showed "down" because pg_isready cannot be invoked. To fix
this, set Makefile variable PGSQL_BIN_DIR and use the path in the show
pool_nodes.
src/Makefile.am
src/utils/pool_process_reporting.c