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 1kJfbr-0006GC-QR for pgsql-hackers@arkaria.postgresql.org; Sat, 19 Sep 2020 16:21:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kJfbq-0002iE-OK for pgsql-hackers@arkaria.postgresql.org; Sat, 19 Sep 2020 16:21:10 +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 1kJfbq-0002i7-HO for pgsql-hackers@lists.postgresql.org; Sat, 19 Sep 2020 16:21:10 +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 1kJfbl-0002eK-IK for pgsql-hackers@lists.postgresql.org; Sat, 19 Sep 2020 16:21:09 +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 08JGL3UF690699; Sat, 19 Sep 2020 12:21:03 -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: <304d8c99-46dc-2baf-34db-23e5a52c2bc9@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> <686634.1600526634@sss.pgh.pa.us> <304d8c99-46dc-2baf-34db-23e5a52c2bc9@2ndQuadrant.com> Comments: In-reply-to Andrew Dunstan message dated "Sat, 19 Sep 2020 12:18:58 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <690697.1600532463.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 19 Sep 2020 12:21:03 -0400 Message-ID: <690698.1600532463@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > Here's how cross version upgrade testing works. It uses a cached version= of the binaries and data directory. The cache is only refreshed if there'= s a buildfarm run on that branch. If not, the cached version will just sit= there till kingdom come. So all this should normally need for the non-liv= e branches is a one-off adjustment in the cached version of the regression= database along the lines I have indicated. My cached versions of 9.2 and = 9.3 are two years old. Hmm, okay, so patching this on gitmaster wouldn't help anyway. > But another alternative would be to have the buildfarm module run (on > versions older than 9.5): > drop operator @#@ (NONE, bigint); > CREATE OPERATOR @#@ ( > =C2=A0=C2=A0=C2=A0 PROCEDURE =3D factorial, > =C2=A0=C2=A0=C2=A0 RIGHTARG =3D bigint > ); > On reflection I think that's probably the simplest solution. It will avo= id any surprises if the cached version is rebuilt, and at the same time pr= eserve testing the prefix operator. Works for me. regards, tom lane