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: Michael Paquier <michael@paquier.xyz>
Cc: Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@lists.postgresql.org
Date: 2023-01-15T23:02:07Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes: > On Sat, Jan 14, 2023 at 03:06:06PM -0500, Tom Lane wrote: > + # Can't upgrade aclitem in user tables from pre 16 to 16+. > + _add_st($result, 'regression', > + 'alter table public.tab_core_types drop column aclitem'); > Could you just use a DO block here to detect tables with such > attributes, like in upgrade_adapt.sql, rather than dropping the table > from the core tests? That's more consistent with the treatment of > WITH OIDS. I guess, but it seems like make-work as long as there's just the one column. > Is this module pluggable with 002_pg_upgrade.pl? I did find that 002_pg_upgrade.pl could load it. I got stuck at the point of trying to test things, because I didn't understand what the test process is supposed to be for an upgrade from a back branch. For some reason I thought that 002_pg_upgrade.pl could automatically create the old regression database, but now I see that's not implemented. 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