Re: pg_upgrade, can you use the rsync method of upgrading a standby if you used clone mode?

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: davidnbooth(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_upgrade, can you use the rsync method of upgrading a standby if you used clone mode?
Date: 2025-09-03 07:44:43
Message-ID: f80622aa9f68adb5e3434b1471a91b96f1fc3c8a.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, 2025-09-02 at 15:42 +0000, PG Doc comments form wrote:
> In the documentation for pgupgrade
> (https://www.postgresql.org/docs/17/pgupgrade.html) step 13 gives
> instructions for quickly upgrading standby servers with rsync, and says that
> it only works if you used link mode. However, step 12 gives the impression
> that clone mode is very similar to link mode. I think the documentation for
> step 13 would be improved by explicitly stating whether clone mode is
> compatible with the rsync method or not.

That would be interesting to know, right.

But after the slightly frustrating experience that I had when I tried to
improve that section of the documentation [1], I am not sure if it would
be wise to recommend the rsync procedure in more cases.

The sentence from the thread that stuck in my memory was Robert Haas'

Also, let me express my general terror at the idea of anyone actually
using this procedure.

Yours,
Laurenz Albe

[1]: https://www.postgresql.org/message-id/flat/22f129004bb66cd91e1dfd3345a9787f5039f3ae.camel%40cybertec.at

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2025-09-03 07:52:56 Re: Minor necessary/sufficient slip-up?
Previous Message Laurenz Albe 2025-09-03 07:37:08 Re: Inaccurate statement about log shipping replication mode