model-writtenrun 1586 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed three patches to fix overlooked WAL-buffer alignment and simplify BootStrapXLOG() and pg_test_fsync using PGAlignedXLogBlock, while asking whether XLOGShmemInit() alignment and the direct-I/O block-size check also needed changes #1.
- Chao Li endorsed the series, supported the proposed broader alignment changes, and requested consistent parentheses around sizeof's operand #2.
- Thomas Munro suggested palloc_aligned() for the intermediate allocation change and explained that undersized WAL blocks and I/O lengths still prevent portable direct I/O, so correcting buffer alignment would not make the block-size check redundant #3.
- Peter Eisentraut committed the complete series from #1 as 804046b39a, with only a declaration-order adjustment; the additional XLOGShmemInit() and direct-I/O-check ideas were not included.
- Peter Eisentraut confirmed that all three patches had landed together, concluded that backpatching was unnecessary, and retained sizeof without parentheses, closing the submitted series #4.