Re: Improve TAP tests of pg_upgrade for cross-version tests - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Improve TAP tests of pg_upgrade for cross-version tests
Date
Msg-id Yqbsgh3W6gCeVf9B@paquier.xyz
Whole thread Raw
In response to Re: Improve TAP tests of pg_upgrade for cross-version tests  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Improve TAP tests of pg_upgrade for cross-version tests
List pgsql-hackers
On Sun, Jun 12, 2022 at 05:58:54PM -0400, Andrew Dunstan wrote:
> On 2022-06-12 Su 10:14, Andrew Dunstan wrote:
>> I tried in fb16d2c658 to avoid littering the mainline code with
>> version-specific tests, and put that in the methods in the subclasses
>> that override the mainline functions.

Except that manipulating the diffs of pg_upgrade is not something that
needs to be internal to the subclasses where we set up the nodes :)

> I think I must have been insufficiently caffeinated when I wrote this,
> because clearly I was not reading correctly.
>
> I have had another look and the patch looks fine, although I haven't
> tested it.

I have a question about the tests done in the buildfarm though.  Do
the dumps from the older versions drop some of the objects that cause
the diffs in the dumps?  At which extent is that a dump from
installcheck?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Add header support to text format and matching feature
Next
From: Michail Nikolaev
Date:
Subject: Any sense to get rid of known_assigned_xids_lck?