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 1kJe5q-0002A6-PW for pgsql-hackers@arkaria.postgresql.org; Sat, 19 Sep 2020 14:44:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kJe5n-0002f4-GL for pgsql-hackers@arkaria.postgresql.org; Sat, 19 Sep 2020 14:43:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJe5n-0002ew-9e for pgsql-hackers@lists.postgresql.org; Sat, 19 Sep 2020 14:43:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJe5k-0001qj-Rw for pgsql-hackers@lists.postgresql.org; Sat, 19 Sep 2020 14:43:58 +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 08JEhs7j686635; Sat, 19 Sep 2020 10:43:54 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-hackers@lists.postgresql.org, pgbf@twiska.com Subject: Re: XversionUpgrade tests broken by postfix operator removal In-reply-to: <16ee55f8-6a38-2f0d-a4e8-b2ab59be8146@2ndQuadrant.com> References: <449144.1600439950@sss.pgh.pa.us> <3f62db16-29c0-4378-02ff-15677fbec2da@2ndQuadrant.com> <540786.1600460745@sss.pgh.pa.us> <1ac0304a-c3b9-0ca1-871f-a85e161db5e3@2ndQuadrant.com> <541680.1600461869@sss.pgh.pa.us> <584630.1600466747@sss.pgh.pa.us> <16ee55f8-6a38-2f0d-a4e8-b2ab59be8146@2ndQuadrant.com> Comments: In-reply-to Andrew Dunstan message dated "Sat, 19 Sep 2020 07:46:49 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <686633.1600526634.1@sss.pgh.pa.us> Date: Sat, 19 Sep 2020 10:43:54 -0400 Message-ID: <686634.1600526634@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > On 9/18/20 6:05 PM, Tom Lane wrote: >> Done, you should be able to remove @#@ (NONE, bigint) from the >> kill list. > crake tests pg_upgrade back to 9.2, so I had to mangle those static > repos for non-live branches like this: Oh, hm. Now that you mention that, I see snapper is testing 9.3 and 9.4 upgrades too. It seems like we have these non-kluge fixes available: 1. Backpatch 9ab5ed419 as far as 9.2. It'd be unusual for us to patch out-of-support branches, but it's certainly not without precedent. 2. Give up testing these upgrade scenarios. Don't like this much; even though these branches are out-of-support, they still seem like credible upgrade scenarios in the field. 3. Put back the extra DROP in TestUpgradeXversion.pm. The main complaint about this is we'd then have no test of pg_upgrade'ing prefix operators, at least not in these older branches (there is another such operator in v10 and later). That doesn't seem like a huge deal really, since the same-version pg_upgrade test should cover it pretty well. Still, it's annoying. 4. Undo the elimination of numeric_fac() in HEAD. I find this only sort of not-a-kluge, but it's a reasonable alternative. In the last two cases we might as well revert 9ab5ed419. Personally I think #1 or #3 are the best answers, but I'm having a hard time choosing between them. regards, tom lane