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 1qiOCl-006Hbn-2A for pgsql-docs@arkaria.postgresql.org; Tue, 19 Sep 2023 00:03:03 +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 1qiOCj-004gxh-OJ for pgsql-docs@arkaria.postgresql.org; Tue, 19 Sep 2023 00:03:01 +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 1qiOCj-004gxT-Fp for pgsql-docs@lists.postgresql.org; Tue, 19 Sep 2023 00:03:01 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiOCg-005zqG-0z for pgsql-docs@lists.postgresql.org; Tue, 19 Sep 2023 00:03:00 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0DECF5C0159; Mon, 18 Sep 2023 20:02:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 18 Sep 2023 20:02:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1695081777; x=1695168177; bh=O3 YbCzvO0ONYhQg1rF6EbObr2uJnOgYj4zIyGx0gUpw=; b=UkNcuYc4uxna0fcFLo QPOSCmE7WXocaqGbx+b5bQD2fVS3uL9uONPZxmUL7NexiJo0SzbMDlyGvB9OUDM3 9yLVHQZqmtTi0nF7/Lb6I5qAgjucdKPL/U2wLk+ATQNPslA/rs4WhbT9p5quas5o LWhDgP40Ewb6JJD2X8nf9MFk9/ADPIqMUqIrQGQtzrLpugSyaOuZZ/WV56JWgych TQuic5sGGd654CDQ6VPyCFn1+8APy0vXHFioimK6bvI1+ZAnYhxo6M2uKzsbbcUO gYb5tvpwDuUGZ46CyR6i1J5sqg4suLzEPvEEQ8EEs1P4fmKUBp2SGFfbPB/qvH1t mCZg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1695081777; x=1695168177; bh=O3YbCzvO0ONYh Qg1rF6EbObr2uJnOgYj4zIyGx0gUpw=; b=kL2uFlkkopTTqQyE0XZ0cUnTdO1Oh EPi4ZBuc/Phsy8JMFv/00zVAgFb8UVe5uaE9KaMCZOB41SWOyFVJQ02tsBoU7nfH nq4X1D8io56u978BsqG896xPVbbWFw1O61Khu+GaKQ0wyTCmrWtNq1WEVbUXV6J/ e5pJ3+QjSKzbnJXhYLWalCLNJ4O1dQMziaWZ/2zQhe88X4uqJfeS9G02g4Hw//z6 OaDyt96vAIxt7lmE0+SQCKNpC5K3ZbWxhKcyvXdg1hSa4p4OjSEG5I5NonrlF5zo jrut2K0HeRBmSTY7YBVbKrLyjnxu67McLcza7vSjXWZjAJEnGCuxgAiKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudejledgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepgeffjeevgfevuddvjedtvddt ieejheduueelvddufedtgfefjedvkeevkeeivddvnecuffhomhgrihhnpehpohhsthhgrh gvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Sep 2023 20:02:55 -0400 (EDT) Date: Tue, 19 Sep 2023 09:02:51 +0900 From: Michael Paquier To: Laurenz Albe Cc: konkove@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: Documentation does not mention that basebackup could not be used on newer major version Message-ID: References: <169505094458.3727334.14380672628638785244@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zD44GszxDxRb3li4" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --zD44GszxDxRb3li4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 18, 2023 at 10:08:30PM +0200, Laurenz Albe wrote: > On Mon, 2023-09-18 at 15:29 +0000, PG Doc comments form wrote: >> My main issue is that `pg_basebackup` page does not mention that this ba= ckup >> is compatible only with current version of database. I can not do baseba= ckup >> on v11 and restore that on v15, for example. >=20 > I think that that is amply documented by the fact that pg_basebackup is > *not* mentioned in https://www.postgresql.org/docs/current/upgrading.html= . Yeah. The issue with this one is that it does a direct physical copy of the files. You cannot expect pg_basebackup to be able to do all the work that pg_upgrade would do underground, like binary upgrades, and more. > You can't expect us to enumerate every tool that is not suitable for > upgrading. Just noting in passing. There is a lot of maintenance effort for downward compatibility (tools like pg_dump and pg_basebackup at version N are able to work with a backend version older, say at N-1). Upward compabitility may work in some cases, even for dumps, still these would likely require extra manipulation to be able to load to a version of the backend older than the version of pg_dump used. Being able to use pg_basebackup to work with older backend versions is a really important property we try to keep available. -- Michael --zD44GszxDxRb3li4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmUI5SsACgkQnvQgOdby QH3z6w/+L1d37q8M1MNlOM0NpHdpH/Vi/N26Wy1TIVc6lqRrSTvuirx8iH4bO1Gj HB9wKTqWtsFt1bJzQkk734sbT1Wi6TUfuoSBV2jNwRC9fgBQHYt1toFGBrBEvXtv tFF1dKhCM5AzkhHmAoq6fygOEr7ldRfwmLHEkIHWr5Ps+gnehAPrTqPzzliEHX9X KrVPDCtmXpme27e8FTuGivsrhLyabpXB3Lx0f7++d8pw3AwFA2YvI3ut3avFisoh Pv/vzi+PDrY4QPYoZbA+7Y2Enq10D4HcTOzKKN5GTMRJ7wwnfXpNbYceZiw0T99n OuQxFHAl8XLSNtRVEahlrPjPP9hHpC1+2D2RHP4RpBF6vrFzsyCzfWQK0IgfIAsj KkGo++Ha85UjJ66XWViK+nz9rO2LjDucWLqVOH/By3s/1xDns7ejFlUUu1o9Guhp wrbu9s2q1Up+06wG1nQzwSmEkvke1l6PsggAXQKOoirwkKt/rt6QLrsstKFCNGU5 LLGOYkGQwYUSwJwSomN86msTXBL+8NQaROEJWqzmyv4utPYCDE7My/gZBlJpXa0F VBZaZabCQr8XrbkJ5usGgF4aYst2ti15RveHf8aVBqxabuVy6MJDcHjHiAGiI8Zn LsbkZRv7qY8rbXRS2FyJXzsDl8gkKxPyf+pqi8+IJdnpf4A9Yg8= =Yyra -----END PGP SIGNATURE----- --zD44GszxDxRb3li4--