pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_upgrade:  issue helpful error message for use on standbys
Date: Fri, 17 Aug 2018 14:26:06 +0000
Message-ID: <E1fqfhW-0007Uf-3A@gemulon.postgresql.org> (raw)

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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/30f480141b646b7ebb86ba1bd880ffa0df503db1

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



view thread (7+ messages)  latest in thread

Message-ID: <E1fqfhW-0007Uf-3A@gemulon.postgresql.org>
Permalink:  ../E1fqfhW-0007Uf-3A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fqfhW-0007Uf-3A@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: bruce@momjian.us
  Subject: Re: pgsql: pg_upgrade:  issue helpful error message for use on standbys
  In-Reply-To: <E1fqfhW-0007Uf-3A@gemulon.postgresql.org>
  References: <E1fqfhW-0007Uf-3A@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox