Re: Extracting cross-version-upgrade knowledge from buildfarm client
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Michael Paquier <michael@paquier.xyz>, pgsql-hackers@lists.postgresql.org
Date: 2023-01-14T20:06:06Z
Lists: pgsql-hackers
Attachments
- adjustupgrade-2.patch (text/x-diff) patch
- xversion-2.patch (text/x-diff) patch
I wrote: > OK, I'll take a look at that and make a new draft. Here's version 2, incorporating your suggestions and with some further work to make it handle 9.2 fully. I think this could be committable so far as HEAD is concerned, though I still need to make versions of AdjustUpgrade.pm for the back branches. I tried to use this to replace upgrade_adapt.sql, but failed so far because I couldn't figure out exactly how you're supposed to use 002_pg_upgrade.pl with an old source installation. It's not terribly well documented. In any case I think we need a bit more thought about that, because it looks like 002_pg_upgrade.pl thinks that you can supply any random dump file to serve as the initial state of the old installation; but neither what I have here nor any likely contents of upgrade_adapt.sql or the "custom filter" rules are going to work on databases that aren't just the standard regression database(s) of the old version. I assume we should plan on reverting 9814ff550 (Add custom filtering rules to the TAP tests of pg_upgrade)? Does that have any plausible use that's not superseded by this patchset? regards, tom lane
Commits
-
Compare only major versions in AdjustUpgrade.pm
- 6061adedf53c 17.0 landed
- 28ce9d51f908 16.0 landed
-
Get rid of the "new" and "old" entries in a view's rangetable.
- 47bb9db75996 16.0 landed
-
Create common infrastructure for cross-version upgrade testing.
- 52585f8f072a 16.0 landed
- f02a75222821 11.19 landed
- ddd89df26b97 10 (unreleased) landed
- bfa3d2790664 9.5 (unreleased) landed
- a2091843f69e 9.2 (unreleased) landed
- 8e7398dce55b 14.7 landed
- 4bcf3521290a 9.4 (unreleased) landed
- 4ad0896bca92 15.2 landed
- 3f0b9df88bb3 13.10 landed
- 3911fd55f53a 9.6 (unreleased) landed
- 2e8bedc3d68c 9.3 (unreleased) landed
- 0e4d38100acb 12.14 landed