model-writtenrun 1753 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier reported that pg_createsubscriber misleadingly called an incompatible control file corrupt and proposed checking PG_VERSION before interpreting the control file #1.
- Masahiko Sawada supported a major-version check and identified similarly misleading pg_checksums errors #2; Paquier favored a shared PG_VERSION API over trusting potentially corrupt control-file contents #3, and Sawada suggested including pg_combinebackup #4.
- Paquier submitted a five-patch series introducing a shared API with pre-v10 version support and optional raw version strings, then adopting it in pg_upgrade, pg_createsubscriber, pg_combinebackup and pg_resetwal #5.
- Sawada approved the API and pg_upgrade patches, requested consistent raw-string diagnostics and preservation of full-path debug output, and demonstrated that the pg_resetwal change broke relative data-directory paths after chdir() #6.
- Paquier committed the API with light header-guard and comment edits as cd0be131ba and the pg_upgrade attachment unchanged as a7d8052910, both from #5, then posted the three remaining conversions with review fixes #7.
- The revised series kept debug logging in the caller, restored the full PG_VERSION path, unified version-string diagnostics and made pg_resetwal read from the current directory #7; Sawada approved all three patches #8.
- The three attachments in #7 landed unchanged as pg_combinebackup e4775e42ca, pg_resetwal c6a6cd53d3 and pg_createsubscriber fa55be2a50; Paquier confirmed completion and declined backpatching pg_createsubscriber #9.
- Michael Banck supplied a separate pg_checksums patch after testing cross-version failures, requested documentation of its major-version dependency and raised broader compatibility as an alternative #10; Paquier accepted the check and documentation direction but opposed maintaining older control-file layouts because of complexity and bug risk #11.
- Paquier committed Banck's code unchanged with an added documentation paragraph as a7c3042200, confirmed that all submitted work had landed and invited proposals for other tools #12; Banck closed the thread with thanks #13.