pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: pgsql-hackers@lists.postgresql.org
Cc: pgbf@twiska.com
Subject: Re: XversionUpgrade tests broken by postfix operator removal
Date: Sat, 19 Sep 2020 12:21:03 -0400
Message-ID: <690698.1600532463@sss.pgh.pa.us> (raw)
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>

Andrew Dunstan <andrew.dunstan@2ndquadrant.com> 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-live 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 @#@ (
>         PROCEDURE = factorial,
>         RIGHTARG = bigint
>     );

> On reflection I think that's probably the simplest solution. It will avoid any surprises if the cached version is rebuilt, and at the same time preserve testing the prefix operator.

Works for me.

			regards, tom lane





view thread (12+ messages)  latest in thread

Message-ID: <690698.1600532463@sss.pgh.pa.us>
Permalink:  ../690698.1600532463@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/690698.1600532463@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew.dunstan@2ndquadrant.com, pgbf@twiska.com
  Subject: Re: XversionUpgrade tests broken by postfix operator removal
  In-Reply-To: <690698.1600532463@sss.pgh.pa.us>
  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> <690698.1600532463@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox