Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8lu0-0000Nr-Gb for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 16:59:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8ltz-0006st-Dq for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 16:59:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8ltz-0006sf-50 for pgsql-hackers@lists.postgresql.org; Tue, 05 Jul 2022 16:59:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8ltw-0005BK-Rr for pgsql-hackers@postgresql.org; Tue, 05 Jul 2022 16:59:54 +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 265GxgN71973419; Tue, 5 Jul 2022 12:59:42 -0400 From: Tom Lane To: Bruce Momjian cc: "Drouvot, Bertrand" , Andres Freund , Justin Pryzby , Noah Misch , Jason Harvey , Peter Geoghegan , pgsql-hackers@postgresql.org, "Tharakan, Robins" Subject: Re: [UNVERIFIED SENDER] Re: pg_upgrade can result in early wraparound on databases with high transaction load In-reply-to: <20210727023904.GA19774@momjian.us> 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> Comments: In-reply-to Bruce Momjian message dated "Mon, 26 Jul 2021 22:39:04 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1973417.1657040382.1@sss.pgh.pa.us> Date: Tue, 05 Jul 2022 12:59:42 -0400 Message-ID: <1973418.1657040382@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > This patch has been applied back to 9.6 and will appear in the next > minor release. I have just discovered that this patch broke pg_upgrade's ability to upgrade from 8.4: $ pg_upgrade -b ~/version84/bin -d ... Performing Consistency Checks ----------------------------- Checking cluster versions ok The source cluster lacks some required control information: latest checkpoint oldestXID Cannot continue without required control information, terminating Failure, exiting Sure enough, 8.4's pg_controldata doesn't print anything about oldestXID, because that info wasn't there then. 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. regards, tom lane