Re: pg_upgrade is not correct

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: ramkly(at)yahoo(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_upgrade is not correct
Date: 2020-12-16 23:42:27
Message-ID: 20201216234227.GI4527@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Dec 8, 2020 at 03:13:30AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/10/pgupgrade.html
> Description:
>
> If we use the following command to upgrade the standby server, then new
> cluster will create by old_cluster which is not correct.
> rsync --archive --delete --hard-links --size-only --no-inc-recursive
> old_cluster new_cluster remote_dir
> I used following command and this one is correct:
> rsync --archive --delete --hard-links --size-only --no-inc-recursive
> new_cluster old_cluster remote_dir
> So the only thing need to change is the place of old_cluster and new_cluster
> in rsync command.

I am not sure how to reply. These instructions have been unchanged for
a few years. Why is the order you suggest correct?

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2020-12-17 11:00:28 SELECT ... FOR UPDATE OF
Previous Message PG Doc comments form 2020-12-16 16:14:44 https://www.postgresql.org/docs/12/logical-replication-restrictions.html