pg_upgrade with --link then pg_basebackup for replication

From: Jorge Torralba <jorge(dot)torralba(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: pg_upgrade with --link then pg_basebackup for replication
Date: 2015-11-03 00:39:02
Message-ID: CACut7uQfoaZgpznYybYVqM-w02vKOUf8HLGn5+EAqmRnO3U4jg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Vladimir Borodin 2015-11-03 06:57:52 Re: [HACKERS] Replication slots and isolation levels
Previous Message Robert Haas 2015-11-02 20:37:57 Re: [ADMIN] Replication slots and isolation levels