Re: XversionUpgrade tests broken by postfix operator removal

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, pgbf(at)twiska(dot)com
Subject: Re: XversionUpgrade tests broken by postfix operator removal
Date: 2020-09-19 11:46:49
Message-ID: 16ee55f8-6a38-2f0d-a4e8-b2ab59be8146@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 9/18/20 6:05 PM, Tom Lane wrote:
> I wrote:
>> Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com> writes:
>>> Yeah, probably worth doing. It's a small enough change and it's only in
>>> the test suite.
>> OK, I'll go take care of that in a bit.
> Done, you should be able to remove @#@ (NONE, bigint) from the
> kill list.
>
>

Done.

crake tests pg_upgrade back to 9.2, so I had to mangle those static
repos for non-live branches like this:

-- rel 9.2 on

drop operator #%# (bigint, NONE);
CREATE OPERATOR #%# (
    PROCEDURE = factorial,
    LEFTARG = bigint
);

drop operator #(at)# (bigint, NONE);
CREATE OPERATOR #(at)# (
    PROCEDURE = factorial,
    LEFTARG = bigint
);

drop operator @#@ (NONE, bigint);
CREATE OPERATOR @#@ (
    PROCEDURE = factorial,
    RIGHTARG = bigint
);

-- rel 9.4
drop operator #(at)%# (bigint, NONE);
CREATE OPERATOR public(dot)#(at)%# (
    PROCEDURE = factorial,
    LEFTARG = bigint
);

cheers

andrew

--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2020-09-19 12:28:14 Re: recovering from "found xmin ... from before relfrozenxid ..."
Previous Message Amit Kapila 2020-09-19 11:24:44 Re: VACUUM PARALLEL option vs. max_parallel_maintenance_workers