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 1s7fCo-006ijQ-Nb for pgsql-hackers@arkaria.postgresql.org; Thu, 16 May 2024 17:47:52 +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 1s7fCo-00CeMP-GP for pgsql-hackers@arkaria.postgresql.org; Thu, 16 May 2024 17:47:50 +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 1s7fCo-00CeLG-6U for pgsql-hackers@lists.postgresql.org; Thu, 16 May 2024 17:47:50 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s7fCk-000Zp8-7J for pgsql-hackers@postgresql.org; Thu, 16 May 2024 17:47:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 44GHlbf32122065; Thu, 16 May 2024 13:47:38 -0400 From: Tom Lane To: Daniel Gustafsson cc: Bruce Momjian , "Drouvot, Bertrand" , Andres Freund , Justin Pryzby , Noah Misch , Jason Harvey , Peter Geoghegan , PostgreSQL Hackers , "Tharakan, Robins" Subject: Re: [UNVERIFIED SENDER] pg_upgrade can result in early wraparound on databases with high transaction load In-reply-to: References: <20190615183759.GB239428@rfd.leadboat.com> <20210423234256.hwopuftipdmp3okf@alap3.anarazel.de> <20210424002827.GO7256@telsasoft.com> <20210424010005.fttcfskp3unr4jiu@alap3.anarazel.de> <78bf65ea-517a-51ed-947b-9728a6ace513@amazon.com> <20210727023904.GA19774@momjian.us> <1973418.1657040382@sss.pgh.pa.us> Comments: In-reply-to Daniel Gustafsson message dated "Thu, 16 May 2024 08:11:37 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2122063.1715881657.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 16 May 2024 13:47:37 -0400 Message-ID: <2122064.1715881657@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: >> On 5 Jul 2022, at 18:59, Tom Lane wrote: >> Given the lack of field complaints, it's probably not worth trying >> to do anything to restore that capability. But we really ought to >> update pg_upgrade's code and docs in pre-v15 branches to say that >> the minimum supported source version is 9.0. > (reviving an old thread from the TODO) > Since we never got around to doing this we still refer to 8.4 as a possi= ble > upgrade path in v14 and older. Oh, yeah, that seems to have fallen through a crack. > The attached takes the conservative approach of raising the minimum supp= orted > version to 9.0 while leaving the code to handle 8.4 in place. While it = can be > removed, the risk/reward tradeoff of gutting code in backbranches doesn'= t seem > appealing since the code will be unreachable with this check anyways. Yeah, it's not worth working harder than this. I do see one typo in your comment: s/supported then/supported when/. LGTM otherwise. regards, tom lane