Re: XversionUpgrade tests broken by postfix operator removal - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: XversionUpgrade tests broken by postfix operator removal
Date
Msg-id 16ee55f8-6a38-2f0d-a4e8-b2ab59be8146@2ndQuadrant.com
Whole thread Raw
In response to Re: XversionUpgrade tests broken by postfix operator removal  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: XversionUpgrade tests broken by postfix operator removal
List pgsql-hackers
On 9/18/20 6:05 PM, Tom Lane wrote:
> I wrote:
>> Andrew Dunstan <andrew.dunstan@2ndquadrant.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 #@# (bigint, NONE);
    CREATE OPERATOR #@# (
        PROCEDURE = factorial,
        LEFTARG = bigint
    );

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

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


cheers


andrew


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




pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: VACUUM PARALLEL option vs. max_parallel_maintenance_workers
Next
From: Amit Kapila
Date:
Subject: Re: recovering from "found xmin ... from before relfrozenxid ..."