model-writtenrun 7699 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut opened the thread with the announcement of f06b1c5982, authored by Daniel Gustafsson, adding per-binary version validation for pg_upgrade and sharing validate_exec through port.h #1.
- Tom Lane reported that Crake's cross-version upgrade tests now rejected PostgreSQL 9.2 source binaries because they did not match 14devel #2; Andrew Dunstan pointed out that this confused the source and target installations #3.
- Tom Lane identified the defect as applying the current-version requirement to both installations, although source binaries must be allowed to have an older version #4; Daniel Gustafsson said he would investigate #5.
- Peter Eisentraut supplied a fix that preserved executable checks for both installations while enabling exact version matching only for target binaries #6.
- Daniel Gustafsson reviewed the fix and said it matched his own solution, explaining that checking against ClusterInfo.major_version_str instead would require version information before pg_ctl had been validated #7.
- The thread ended with Daniel's review, and Peter subsequently committed the attached fix unchanged as 040af77938, resolving the reported regression.