model-writtenrun 2934 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Max Johnson reported that pg_ctl could hang after January 2038 on a 32-bit ARM system with 64-bit time_t, and supplied a tested patch using long long output and atoll() input for the postmaster start time in #1.
- Nathan Bossart recommended INT64_FORMAT because MyStartTime already has a signed 64-bit type in #2, while Tom Lane requested fixing all remaining casts to long and cautioned about translatable format strings in #3; Nathan found no affected translatable strings in #4.
- Max supplied and retested the portable formatting revision in #5, then Nathan expanded it to logging and postgres_fdw and introduced shared hexadecimal formatting macros in #6; Max said the expanded patch looked good in #7.
- Nathan posted the unchanged code staged for commit and raised backpatching for long-lived embedded systems in #8; Max supported shipping the fix in minor releases in #9, and Nathan confirmed that backpatching through PostgreSQL 12 was feasible in #10.
- The functional portion of #8 landed as c91d0af0a2 with inline hexadecimal format expressions; Nathan explained in #11 that he withheld the new public macros to avoid possible conflicts with third-party code on stable branches.
- Nathan submitted the deferred macro cleanup separately for the next major release in #12, adding INT64_HEX_FORMAT and UINT64_HEX_FORMAT to c.h and replacing the corresponding inline formats.
- After announcing his intention to commit the remaining patch in #13, Nathan landed #12 unchanged apart from rebase context as efdc7d7475 and confirmed completion in #14, leaving both parts committed.