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 1o8qfd-00058O-49 for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 22:05:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8qfb-0004s2-9L for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 22:05:23 +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 1o8qfb-0004rt-0J for pgsql-hackers@lists.postgresql.org; Tue, 05 Jul 2022 22:05:23 +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 1o8qfY-0007r3-LG for pgsql-hackers@postgresql.org; Tue, 05 Jul 2022 22:05:22 +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 265M57Dv2021228; Tue, 5 Jul 2022 18:05:07 -0400 From: Tom Lane To: Andrew Dunstan cc: Bruce Momjian , "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: <67a252e2-c847-f1f0-106e-ea4f7ffc543a@dunslane.net> 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> <220cb128-4f52-237b-66d8-8dbcd75ead53@dunslane.net> <1997756.1657048658@sss.pgh.pa.us> <67a252e2-c847-f1f0-106e-ea4f7ffc543a@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Tue, 05 Jul 2022 17:25:43 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2021226.1657058707.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 05 Jul 2022 18:05:07 -0400 Message-ID: <2021227.1657058707@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > On 2022-07-05 Tu 15:17, Tom Lane wrote: >> Hmm ... could you first look into why 09878cdd4 broke it? I'd supposed >> that that was just detecting situations we must already have dealt with >> in order for the pg_upgrade test to work, but crake's not happy. > It's complaining about this: > andrew@emma:HEAD $ cat > ./inst/REL9_6_STABLE-20220705T160820.039/incompatible_polymorphics.txt > In database: regression >   aggregate: public.first_el_agg_f8(double precision) Thanks. > I can have TestUpgradeXVersion.pm search for and remove offending > functions, if that's the right fix. I'm not sure. It seems like the new check must be too strict, because it was only meant to detect cases that would cause a subsequent dump/reload failure, and evidently this did not. I'll have to look closer to figure out what to do. Anyway, it's off topic for this thread ... regards, tom lane