pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Martín Fernández <fmartin91@gmail.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PG Upgrade with hardlinks, when to start/stop master and replicas
Date: Mon, 18 Feb 2019 21:20:53 +0100
Message-ID: <4f1d17eb6a46da084580f814cd0fd50d4ee2542c.camel@cybertec.at> (raw)
In-Reply-To: <5c6b0bc5828e9f3dde000002@polymail.io>
References: <5c6b0bc5828e9f3dde000002@polymail.io>

Martín Fernández wrote:
> After reading the pg_upgrade documentation multiple times, it seems that after running pg_upgrade on the primary instance, we can't start it until we run rsync from the primary to the standby. I'm understanding this from the following section in the pg_upgrade manual page.
> 
> You will not be running pg_upgrade on the standby servers, but rather rsync on the
>            primary. Do not start any servers yet.

Immediately following, you can read:

 If you did not use link mode, do not have or do not want to use rsync, or want an easier
 solution, skip the instructions in this section and simply recreate the standby servers
 once pg_upgrade completes and the new primary is running.

So this is not compulsory, it's just an efficient method to quickly get the standby
server updated.

There is nothing wrong with rebuilding the standby later.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





view thread (17+ messages)  latest in thread

Message-ID: <4f1d17eb6a46da084580f814cd0fd50d4ee2542c.camel@cybertec.at>
Permalink:  ../4f1d17eb6a46da084580f814cd0fd50d4ee2542c.camel@cybertec.at/
Also on:    postgresql.org/message-id/4f1d17eb6a46da084580f814cd0fd50d4ee2542c.camel@cybertec.at

 · 

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-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, fmartin91@gmail.com
  Subject: Re: PG Upgrade with hardlinks, when to start/stop master and replicas
  In-Reply-To: <4f1d17eb6a46da084580f814cd0fd50d4ee2542c.camel@cybertec.at>
  References: <5c6b0bc5828e9f3dde000002@polymail.io> <4f1d17eb6a46da084580f814cd0fd50d4ee2542c.camel@cybertec.at>

* 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