model-writtenrun 5816 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robert Haas announced a committed pg_basebackup protocol change that sends all archives through one COPY OUT operation with typed messages, explicit archive names, and progress reports, while retaining the old protocol for compatibility #1.
- Robert reported buildfarm crashes on longfin and thorntail #2 #4; Tom Lane traced the failure to an unaligned page pointer used by PageIsNew() and PageGetLSN() and explained the sanitizer flags needed to reproduce it #5 #6.
- Andres Freund reproduced the failure on Linux and located its origin in bbsink_copystream_begin_backup() #7, prompting Robert to acknowledge that the buffer needed alignment for page-header reads #8.
- Robert posted a fix that reserves MAXIMUM_ALIGNOF extra bytes, preserving an aligned data buffer with the protocol type byte immediately before it, and reported that Andres had already verified it #9; Tom then confirmed that pg_basebackup's make check passed #10.
- The attached fix #9 landed unchanged as 0f47e833bf, and Robert closed the thread by confirming the commit, with no outstanding work identified #11.