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 10:43:54 -0400
Message-ID: <686634.1600526634@sss.pgh.pa.us> (raw)
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>

Andrew Dunstan <andrew.dunstan@2ndquadrant.com> 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





view thread (12+ messages)  latest in thread

Message-ID: <686634.1600526634@sss.pgh.pa.us>
Permalink:  ../686634.1600526634@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/686634.1600526634@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: <686634.1600526634@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>

* 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