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-16T21:48:28Z
Lists: pgsql-hackers
Attachments
- adjustupgrade-4.patch (text/x-diff) patch
- xversion-4.patch (text/x-diff) patch
OK, here's a v4: * It works with 002_pg_upgrade.pl now. The only substantive change I had to make for that was to define the $old_version arguments as being always PostgreSQL::Version objects not strings, because otherwise I got complaints like Argument "HEAD" isn't numeric in numeric comparison (<=>) at /home/postgres/pgsql/src/bin/pg_upgrade/../../../src/test/perl/PostgreSQL/Version.pm line 130. So now TestUpgradeXversion.pm is responsible for performing that conversion, and also for not doing any conversions on HEAD (which Andrew wanted anyway). * I improved pg_upgrade's TESTING directions after figuring out how to get it to work for contrib modules. * Incorporated (most of) Andrew's stylistic improvements. * Simplified TestUpgradeXversion.pm's use of diff, as discussed. I think we're about ready to go, except for cutting down AdjustUpgrade.pm to make versions to put in the back branches. I'm slightly tempted to back-patch 002_pg_upgrade.pl so that there is an in-tree way to verify back-branch AdjustUpgrade.pm files. On the other hand, it's hard to believe that testing that in HEAD won't be sufficient; I doubt the back-branch copies will need to change much. 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