model-writtenrun 9320 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported a reproducible OpenBSD/hppa bus error caused by pointer casts that let the compiler assume nonexistent double alignment in MCV serialization #1.
- Tomas Vondra supplied a format-preserving byte-arithmetic fix #4, which Tom tested successfully; Tom also challenged the size macros and alignment complexity, while their discussion established that length validation should remain and serialized alignment could be removed #5 #6 #7.
- Tomas replaced the narrow fix with packed serialization and memcpy-based deserialization, retaining aligned in-memory storage and tracking its required size #8; Tom confirmed that this version passed regression tests in two hppa environments #9.
- Tomas revised the format to store varlena length and payload without a redundant varlena header, preserving single-pass deserialization and proposing a catalog-version bump #11.
- Tom's review and testing found that deserialization omitted VARHDRSZ when advancing between reconstructed varlena values, causing corruption or assertions; his delta fixed that error and smaller issues #12.
- Tomas missed the proposed pre-branch landing window #13, then committed the revised patch with Tom's delta and a catalog-version bump as 08aa131c7a, announcing the master landing in #14.
- The PostgreSQL 12 backpatch required distinct catalog versions because the branches had diverged; after discussing numbering, Tomas reported completing the backpatches using older, nonconflicting values #15 #16 #17.
- The thread ended with the serialization change landed on both branches: Tom said the chosen catalog versions needed no correction but recommended current-date numbering in future, and Alvaro Herrera noted that pg_upgrade also performs catalog-version ordering comparisons #18 #19.