model-writtenrun 8728 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed moving all win32ver.rc version information to build-time preprocessing, introducing numeric major and minor version macros and initially replacing the existing major-version string macro #1.
- Tom Lane supported the cleanup but recommended retaining PG_MAJORVERSION to avoid extension incompatibilities and unnecessary changes to string consumers; he also noted a Solution.pm conflict #2.
- Peter accepted that recommendation and posted a revised patch retaining the string macro alongside the numeric macros, removing the consumer changes and updating the build-script context #3.
- Tom approved the revision without testing Windows and raised the possibility of backpatching the new macros to make them available sooner to extensions #4.
- Peter committed #3 unchanged as 0a42a2e9ce and closed the thread by questioning the need for backpatching because external code could already use PG_VERSION_NUM; no backports are recorded #5.