Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1utuMw-00FxYY-6r for pgsql-docs@arkaria.postgresql.org; Wed, 03 Sep 2025 20:46:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1utuMu-00BbaW-VD for pgsql-docs@arkaria.postgresql.org; Wed, 03 Sep 2025 20:46:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1utuMu-00BbaN-M9 for pgsql-docs@lists.postgresql.org; Wed, 03 Sep 2025 20:46:13 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1utuMr-000Pfn-1Y for pgsql-docs@lists.postgresql.org; Wed, 03 Sep 2025 20:46:12 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-afcb7ace3baso57504766b.3 for ; Wed, 03 Sep 2025 13:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1756932369; x=1757537169; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5Qy25+/eSLIhnP1aiaDuO4UB1ZThdLvzaNpurv5qMYE=; b=S8ObzHM5e8TH0SJ21AJ5oTy1eAwgeR241i9J50nIcC8O+QzaVgUdl93LWubjzHUl+K 12MXj3p5W92NCQAQJL1emD/7yFudHY6I/bn8mNJcl0C2mgPqLJdeWQ0wodKM/cAHYEzR 28B9iHBRaWGOHXcW1Oc2YTzpYLYfoOgmJ6itGJQ9Xse/rKCTbEeMZOJry44sdEqC5QCX L8WH2YI8zVZrlLZZ9okZdBl0ozostqoLfQDUMjGs/l7CIOkOhEFEFm+0hnG1C9JwnsUm n3B6+bC9EpZ6/aGl7iYejmnkHueB+L+w58N5c0fuFG9X1A1dG1vdWzuO3yJSXC30igno BhnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756932369; x=1757537169; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5Qy25+/eSLIhnP1aiaDuO4UB1ZThdLvzaNpurv5qMYE=; b=caIbLjCSkqFQeHeRCgIcTAhgTq4UJm5R4ykhzbZl3dg27q+DtbyrYw1a8MuljDl3fQ YbzIl3yZlRkKURtoC3ZlGwhjyZIBDlaiEAeiXWnnfaHhuA5kZGYbl4FMf6yTW+IELo7P /OTWY5XN2HGvsdXjxxR9gadHfZlcI7tL7rXJmsbwvI16XKdIY6Jhi031HViD5kiGenA2 SmDuDvZmfVF53CU7Dm3Z5gYR/8mUN8cFAcSGFX2mOAzPg1+Vy9i0aVQ0dAHJUvJ2ld1J VJihENJhsQ1T/Zenf2+a0GbbdfrW7ECv6VhfawHKVlii0m8jrgFoTVLrb0Voi6INgaFc 9Ccw== X-Gm-Message-State: AOJu0YyFPIGMlD8Fy/1NGCBNNXYWs1Y0bQKyp+/G/0rnjpu/rz6kQx1y 4asMllG7fGeYlC4yDgHJOIvvwMuxFGBjHvgaw5WztW3EMufnmm4Fcywzfy1qJzyqpRYk1t4tyDe F/sUe87jJ3HgSR37buxDP+Df/201GIbU= X-Gm-Gg: ASbGncvHji7DJYKkLZS474PVg2B2zC/iqWpIbm15yeeTlaFdHVml7eg3VPzfVEZVGgU Jj02+T78NP6kuEoJqQ9wCh+JmMLreUajdxv+dK6b4D0WWqhIDaw70WCpIuxpdIkTWNVrbvfYdK/ +nQr3tWw8RMe6NevnLFba5pnG4zxPesOhP10LQ61wYY3XvADau86kBhcTb0MACz+FCQobSXlbIW 6JUXEPLavVohd8RWZpG4u4sUkG0LKl+TfHwGc52/xLxk74tu6xH X-Google-Smtp-Source: AGHT+IERj7DEM4D34sB9wxuL5Uud8FeHnF2GE9YMwYEJLna7PIQwfxV26Sb37N8vIA5heaB4aOPHmLS7bhwD8YNY4lo= X-Received: by 2002:a17:907:1c97:b0:ade:198c:4b6f with SMTP id a640c23a62f3a-b01d8a277e7mr1671334866b.1.1756932368991; Wed, 03 Sep 2025 13:46:08 -0700 (PDT) MIME-Version: 1.0 References: <175682776043.778.6556350471379069615@wrigleys.postgresql.org> In-Reply-To: From: David Booth Date: Wed, 3 Sep 2025 16:45:56 -0400 X-Gm-Features: Ac12FXxWykc9_kZPj_dxStBrD6nuFVWL8EbZqhKWxEVxUt1ymNmDalsG5iSSLkg Message-ID: Subject: Re: pg_upgrade, can you use the rsync method of upgrading a standby if you used clone mode? To: Laurenz Albe Cc: pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000bf8b71063debb18b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000bf8b71063debb18b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the feedback Laurenz! I will avoid this procedure for my upgrades then. On Wed, Sep 3, 2025 at 3:44=E2=80=AFAM Laurenz Albe wrote: > 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 documentatio= n > 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/22f129004bb66cd91e1dfd3345a978= 7f5039f3ae.camel%40cybertec.at > --000000000000bf8b71063debb18b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the feedback Laurenz!=C2=A0 I will avoid this p= rocedure for my upgrades then.

On Wed, Sep 3, 2025 at = 3:44=E2=80=AFAM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Tue, 2025-09-02 at 15:42 +0000, PG Doc comment= s 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 say= s that
> it only works if you used link mode.=C2=A0 However, step 12 gives the = impression
> that clone mode is very similar to link mode.=C2=A0 I think the docume= ntation for
> step 13 would be improved by explicitly stating whether clone mode is<= br> > 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'
=C2=A0 Also, let me express my general terror at the idea of anyone actuall= y
=C2=A0 using this procedure.

Yours,
Laurenz Albe


=C2=A0[1]: https://www.postgresql.org/message-id/flat/22f129004bb66cd91e= 1dfd3345a9787f5039f3ae.camel%40cybertec.at
--000000000000bf8b71063debb18b--