]> granicus.if.org Git - postgresql/commit
pg_upgrade: fix shutdown check for standby servers
authorBruce Momjian <bruce@momjian.us>
Tue, 14 Aug 2018 21:19:02 +0000 (17:19 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 14 Aug 2018 21:19:02 +0000 (17:19 -0400)
commit777e6ddf1723306bd2bf8fe6f804863f459b0323
tree0c2863b31bac78ad768c893f515183987b1da0f2
parent6f1591955db0a30f701ab10ea40cefeca6ff9b3f
pg_upgrade:  fix shutdown check for standby servers

Commit 244142d32afd02e7408a2ef1f249b00393983822 only tested for the
pg_controldata output for primary servers, but standby servers have
different "Database cluster state" output, so check for that too.

Diagnosed-by: Michael Paquier
Discussion: https://postgr.es/m/20180810164240.GM13638@paquier.xyz

Backpatch-through: 9.3
src/bin/pg_upgrade/controldata.c