pgsql: pg_upgrade: issue helpful error message for use on standbys

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_upgrade: issue helpful error message for use on standbys
Date: 2018-08-17 14:26:06
Message-ID: E1fqfhW-0007Ud-3S@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: issue helpful error message for use on standbys

Commit 777e6ddf1723306bd2bf8fe6f804863f459b0323 checked for a shut down
message from a standby and allowed it to continue. This patch reports a
helpful error message in these cases, suggesting to use rsync as
documented.

Diagnosed-by: Martín Marqués

Discussion: https://postgr.es/m/CAPdiE1xYCow-reLjrhJ9DqrMu-ppNq0ChUUEvVdxhdjGRD5_eA@mail.gmail.com

Backpatch-through: 9.3

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/87be73e3ff1cd2e4474f8305a214a9d61535d2fb

Modified Files
--------------
src/bin/pg_upgrade/controldata.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-08-17 14:38:41 pgsql: Fix configure's snprintf test so it exposes HP-UX bug.
Previous Message Michael Paquier 2018-08-17 02:35:11 pgsql: Mention ownership requirements for REFRESH MATERIALIZED VIEW in