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 1utiAl-00D7Kr-2E for pgsql-docs@arkaria.postgresql.org; Wed, 03 Sep 2025 07:44:51 +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 1utiAj-007xSa-5Z for pgsql-docs@arkaria.postgresql.org; Wed, 03 Sep 2025 07:44:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1utiAi-007xSS-Sj for pgsql-docs@lists.postgresql.org; Wed, 03 Sep 2025 07:44:49 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1utiAg-000IC5-2m for pgsql-docs@lists.postgresql.org; Wed, 03 Sep 2025 07:44:48 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-b04271cfc3eso382537966b.3 for ; Wed, 03 Sep 2025 00:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1756885485; x=1757490285; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=O6qK/5VeE0fS1QyzBlRFz5zmk+ryrHpgC8odha+D8fA=; b=O2HxDLiHpVv2WIQVss4PJi1pFO1uLW88Fhqr34BC1bromL510VTIT6zAvLYpWBd2du DofgwI315hESOiQFOP4LAoqhaRL23A/wCDJAas493tcI+/NbrfPemO7eeUEqdyAmUzpa /KA3YdyKeIo0BkzpQbgA9JIGIX6haC/o4VddC67TzXRStC6YR9mmNyirBzZfXYY7muFO vheHgeto+QmvHd8FD6ppASeWSdie/Z4wtGC3DAaPIZ6NWA7M1+4R8n4r1AysP2cnweUP SfzwHbt8XXl2TU0eduiUHJgURdt4kRiM2xD01E54rGwSuEatygxbY8EWRs6wCU+sBq1G Omcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756885485; x=1757490285; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=O6qK/5VeE0fS1QyzBlRFz5zmk+ryrHpgC8odha+D8fA=; b=tu5F93pUFltlcFRYbAyzwDQgIC6VvdHug3YRAO+OhnfrjyEE5gHL49dneIgH5VGmfJ DimwP65St9hfYqpZifCv/GCnTaAgVuu0ZBXlN49SzpB6K/7xQGu2V8k4N/21WEaE5TuQ qW1pzXKuPhd4rScT6IqzQ6OzoEOk21RRLm61wALEkPCDBRmRQafzdrRJPRMyFbKAvrmE 3Lp0ACYJPka/gHVL5NmXFP+1UZ33zkjhNuHYdPJOi8QGJp40DuyqV5j7/hQRQfCdBiDS Xu1IP4OnVks06N2KsWIyvcBUVUWbeNZ2G/eKuL4/ndFrwEKy6ImLx+RVsstXw6z1XpW1 1oVw== X-Forwarded-Encrypted: i=1; AJvYcCWsrRz5KLFlY9zhkoKqOfWKAVZXq+fwm7c+s1WDduEH/9JoORfStNWIZ3PPcmoREaTRQhM4pau81mRJ@lists.postgresql.org X-Gm-Message-State: AOJu0YwpHXfoV/LnKhlnYoYYJkC1/pT5iF0WweKDfwn7gwE3UnImQOxi q4pWY+jTv9XE/p2Gui6v/RegnOqWzdQ/D62YvUk7bYVQqzKhQm8kUYoTmfh7WClnBR0= X-Gm-Gg: ASbGncuHKw7F9qzLHD5RABAQl7EPgJyhbFq8nQ4HFrfNCGlbOuZIoqCv13DXW4QK1Qo PTLkxMcHqfvDvVKW+Yo0MQerc6afZMqg9DDRD3l076a2E54dH+PqVUNBXrlbi2GBcDpO/M9u1mi jCbAZeRNe/THx6cimNDohNmbkjiDRKGw6QN/pi4b400SKX0JDa6dLuIVMtHeHyncnnX6Dkz3sd9 lS53xh4+XBF9h+N9iXyhAZ/z5ecuWZyN1sJkMfzY4ZeoAYG0gLkwsxNzBcrPvfphm+/U0tPJvtX Iahn1sbD3Xwbd8SyS+DHgD+y+DN9LosYHANGr/n8fYa2aSdd0zLPwYNM8JWhzBrozsJQClLYOND sXF/5MU/wGzjdQcnCu89HYb0ookAeTVBPAiO0vQj2tVNvo/UI9QVvzA== X-Google-Smtp-Source: AGHT+IEFeLTIk8NDBMa6od7ddYnWf9eKhMw4xzYUKe+Qrotd3DRnJBUAeV+Z8yxBJNoc5LoT7DJSfA== X-Received: by 2002:a17:907:6096:b0:b04:3a46:c4f2 with SMTP id a640c23a62f3a-b043a46d62cmr872394866b.48.1756885485263; Wed, 03 Sep 2025 00:44:45 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:260:4d40:896e:d702:196e:5a83]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b047041dddasm19969266b.72.2025.09.03.00.44.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Sep 2025 00:44:44 -0700 (PDT) Message-ID: Subject: Re: pg_upgrade, can you use the rsync method of upgrading a standby if you used clone mode? From: Laurenz Albe To: davidnbooth@gmail.com, pgsql-docs@lists.postgresql.org Date: Wed, 03 Sep 2025 09:44:43 +0200 In-Reply-To: <175682776043.778.6556350471379069615@wrigleys.postgresql.org> References: <175682776043.778.6556350471379069615@wrigleys.postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 t= hat > it only works if you used link mode. However, step 12 gives the impressi= on > 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/22f129004bb66cd91e1dfd3345= a9787f5039f3ae.camel%40cybertec.at