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: pgsql-hackers@lists.postgresql.org
Date: 2023-01-14T15:47:35Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes: > On 2023-01-13 Fr 19:48, Tom Lane wrote: >> Attached are two patches, one for PG git and one for the buildfarm >> client, that create a working POC for this approach. > OK, we've been on parallel tracks (sorry about that). Let's run with > yours, as it covers more ground. Cool. > One thing I would change is that your adjust_database_contents tries to > make the adjustments rather than passing back a set of statements. Agreed. I'd thought maybe adjust_database_contents would need to actually interact with the target DB; but experience so far says that IF EXISTS conditionality is sufficient, so we can just build a static list of statements to issue. It's definitely a simpler API that way. > I also tried to remove a lot of the ugly release tag processing, > leveraging our PostgreSQL::Version gadget. I think that's worthwhile too. OK, I'll take a look at that and make a new draft. 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