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

Started by Bruce Momjianalmost 8 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

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: /messages/by-id/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(-)