Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Here's a piece of WIP for that, in the form of a perl module that
> provides a function that takes an old version number / tag and provides
> the set of sql statements that need to be run to make the old repo
> upgradeable. It still needs a good deal of polish, but it's a start.
Oh! I've been hacking on exactly the same idea all day ...
https://www.postgresql.org/message-id/891521.1673657296%40sss.pgh.pa.us
regards, tom lane