Re: Extracting cross-version-upgrade knowledge from buildfarm client
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael@paquier.xyz>, pgsql-hackers@lists.postgresql.org
Date: 2023-01-16T19:08:38Z
Lists: pgsql-hackers
Attachments
- adjustupgrade-3.patch (text/x-patch) patch
On 2023-01-15 Su 18:37, Tom Lane wrote: > Andrew Dunstan <andrew@dunslane.net> writes: >> Those replacement lines are very difficult to read. I think use of >> extended regexes and some multi-part replacements would help. I'll have >> a go at that tomorrow. > Yeah, after I wrote that code I remembered about \Q ... \E, which would > eliminate the need for most of the backslashes and probably make things > better that way. I didn't get around to improving it yet though, so > feel free to have a go. > > OK, here's my version. It tests clean against all of crake's dump files back to 9.2. To some extent it's a matter of taste, but I hate very long regex lines - it makes it very hard to see what's actually changing, so I broke up most of those. Given that we are looking at newlines in some places I decided that after all it was important to convert CRLF to LF. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
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