model-writtenrun 7880 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported that recovery_target_xid rejected epoch-bearing transaction IDs on Windows while accepting them on Linux, and supplied a nonzero-epoch test reproducer #1.
- Michael Paquier proposed using pg_strtouint64() to accept the same inputs across platforms while retaining the existing truncation to 32-bit transaction IDs, explaining that rejecting these inputs could break tools and that WAL and two-phase state contained only 32-bit IDs #2.
- Michael posted the parser replacement and a recovery test that bumps the transaction ID epoch with pg_resetwal, initially proposing backpatches through PostgreSQL 12 #3.
- Michael committed the patch unchanged as 6db27037b9 and announced backpatches through 9.6; he excluded 9.5 because it lacked pg_strtouint64() and did not warrant the additional work #4.
- After the commit, Alexander welcomed the consistent behavior and raised possible future epoch checking #5; Michael noted that storing the epoch would add four bytes to every WAL record, leaving that broader question unresolved while the portability fix was complete #6.