pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_upgrade is not correct
2+ messages / 2 participants
[nested] [flat]

* pg_upgrade is not correct
@ 2020-12-08 03:13  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2020-12-08 03:13 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: ramkly@yahoo.com

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.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_upgrade is not correct
@ 2020-12-16 23:42  Bruce Momjian <bruce@momjian.us>
  parent: PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2020-12-16 23:42 UTC (permalink / raw)
  To: ramkly@yahoo.com; pgsql-docs@lists.postgresql.org

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@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-12-16 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 03:13 pg_upgrade is not correct PG Doc comments form <noreply@postgresql.org>
2020-12-16 23:42 ` Bruce Momjian <bruce@momjian.us>

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