model-writtenrun 8121 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that removing postfix operators broke cross-version upgrade tests and proposed dropping four regression-test operators before upgrading, while retaining postfix coverage in older branches #1.
- Andrew Dunstan published a buildfarm hotfix requiring one additional operator removal #2; Tom identified that operator as a prefix operator depending on the removed numeric_fac alias and proposed switching regression definitions to factorial to preserve prefix-operator upgrade coverage #3.
- After Andrew agreed with the proposal #4, Tom committed the factorial substitutions in the regression SQL and expected output as 760b8fe766, including supported-branch backports, and confirmed that the prefix operator could leave the cleanup list #6.
- Andrew's manual repairs to cached databases for unsupported branches #7 prompted Tom to consider older backpatches, dropping those upgrade tests, removing the prefix operator, or restoring numeric_fac, with the alternatives trading maintenance work against test coverage #8.
- Andrew explained that the tests reuse cached binaries and databases, then proposed automatically recreating the prefix operator with factorial for versions older than 9.5 #9; Tom accepted that solution #10.
- Andrew posted the complete buildfarm patch after undoing his manual database repairs and successfully testing the automatic fix #11; Tom Turelinckx subsequently reported applying it to six buildfarm animals, leaving no further discussion requests outstanding #12.
- After the thread ended, Noah Misch committed the corresponding four-operator cleanup in PostgreSQL's own src/bin/pg_upgrade/test.sh as fa744697c7, noting that this was necessary but insufficient for testing version 13-to-14 upgrades.