Fix pgpool_setup problem with -r option and PostgreSQL 12.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 5 Aug 2020 01:47:06 +0000 (10:47 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 5 Aug 2020 01:54:25 +0000 (10:54 +0900)
commit566a48e8c5a1ed8efbcef143322ac1bea54882f9
tree11b8a9778a37392537472dbf2b87c03372518299
parentf8510a4a75e8a894220022c1b1dca4db1b26afdb
Fix pgpool_setup problem with -r option and PostgreSQL 12.

pgpool_setup -r uses pg_rewind if it's possible. After rewinding,
pgpool_setup failed to create standby.signal file, which is required in
PostgreSQL 12 or later, on the recovered target node. As a result, the
recovered node booted up as a primary server, rather than a standby
server.

Discussion: https://www.pgpool.net/mantisbt/view.php?id=624
src/test/pgpool_setup