On Thu, Sep 14, 2017 at 03:12:50PM -0400, Bruce Momjian wrote:
> I talked with Stephen about this on IM. The issue is that if you don't
> do --delete, and there are files in the primary that are not in the
> standby, they are copied, but files in the standby and not in the
> primary are kept. This could lead to mixed primary/standby log files,
> or worse. Using --delete means the new standby exactly matches the new
> primary and all the steps you need to adjust after a base backup are the
> same.
>
> I added a mention of rsync --dry-run per Stephen's suggestion.
>
> I have also added a paragraph from Magnus that I developed via IM that
> explains that you can use rsync to upgrade one standby from another
> standby, if the standby has not been started.
Patch applied through 9.5. Updated docs at:
http://momjian.us/pgsql_docs/pgupgrade.html
-- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB
http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers