model-writtenrun 1653 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed four patches to introduce C11 alignas, replace alignment-only union members, and simplify atomic and I/O buffer declarations, separating fundamental from implementation-defined extended alignments to ease portability testing #1.
- Peter deliberately retained pg_attribute_aligned for tricky uses including int128 and PgAioUringContext; Andres Freund clarified that the latter attribute applied to the struct and suggested moving alignment to completion_lock, but this additional conversion was not included in the submitted series #1 #2 #5 #6.
- Thomas Munro explored better atomic allocation alignment, aligned allocation for int128, and replacing configure alignment probes with alignof; Peter cautioned that alignof could differ from existing structure-offset measurements and threaten on-disk compatibility, leaving those broader changes outside this series #3 #7.
- Chao Li reported a successful macOS build and make check, reviewed all four components, and suggested documenting ABI preservation and spelling alignas with an explicit alignof; Peter retained the direct alignas(type) spelling and said major releases need not preserve ABI #4 #8.
- The header inclusion landed as 300c8f5324, followed by the fundamental-alignment conversions as 97e04c74be, with the async.c change adapted to an intervening refactor of its notification buffer #1.
- The extended-alignment component landed as d4c0f91f7d and the atomic-types component as e7075a3405, completing the attached series; Peter subsequently reported no apparent buildfarm complaints #1 #9.
- In January, Tom Lane reported that the newly added C++ extension test exposed older g++ warnings about the 4096-byte alignments and proposed hiding the affected declarations from C++ code #10.
- Peter instead proposed an inline macro mapping alignas to the GNU alignment attribute; Tom requested a cutoff at version 9 rather than version 6, and the workaround landed as a9bdb63bba #11 #12 #13 #14.
- Tom then reported that redefining alignas broke LLVM headers; Peter rejected temporarily redefining the macro as too tricky and adopted Tom's original exclusion approach for affected compilers, replacing the workaround with 6ceef9408c #15 #16.
- At the thread's end, Tom reported that excluding the types entirely broke headerscheck --cplusplus on RHEL8 and committed forward declarations permitting abstract references as bd9dfac8b1; all submitted patches and the reported compatibility fixes had landed, while actual declarations of those aligned buffers remained unavailable under affected older g++ versions #17.