pgsql: pg_upgrade: fix shutdown check for standby servers

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_upgrade: fix shutdown check for standby servers
Date: 2018-08-14 21:19:18
Message-ID: E1fpgik-00072p-7d@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/235eab04ec01b5308de0264798a43dc04414ba0a

Modified Files
--------------
contrib/pg_upgrade/controldata.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-08-15 17:21:59 pgsql: Make snprintf.c follow the C99 standard for snprintf's result va
Previous Message Peter Eisentraut 2018-08-14 21:01:50 pgsql: doc: Update broken links