pg_upgrade with --link then pg_basebackup for replication - Mailing list pgsql-admin

From Jorge Torralba
Subject pg_upgrade with --link then pg_basebackup for replication
Date
Msg-id CACut7uQfoaZgpznYybYVqM-w02vKOUf8HLGn5+EAqmRnO3U4jg@mail.gmail.com
Whole thread Raw
Responses Re: pg_upgrade with --link then pg_basebackup for replication  (Bruce Momjian <bruce@momjian.us>)
List pgsql-admin

Here is an odd question.

If one was to upgrade Postgres to 9.4 from 9.1 using the --link option, then setup replication using pg_basebackup, would the standby server preserve the hard links with the pg_basebackup or will -D /new/destination/data/dir be a clean unlinked version?

Afterwards, if failing over to standby then failing back, would that implement a non linked version back on the primary if specifying a new data directory as well ?


--
Thanks,

Jorge Torralba
----------------------------

Note: This communication may contain privileged or other confidential information. If you are not the intended recipient, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this email in error and delete the copy you received. Thank You.

pgsql-admin by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Replication slots and isolation levels
Next
From: Vladimir Borodin
Date:
Subject: Re: [HACKERS] Replication slots and isolation levels