Jan 2026

3 commits
Further fix extended alignment for older g++.
29 Jan 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Adds forward typedef declarations for PGIOAlignedBlock and PGAlignedXLogBlock in src/include/c.h under older g++, allowing references to incomplete types. Tom Lane explains the headerscheck failure and his committed fix in #17; no attached patch contains this change.

Disable extended alignment uses on older g++
26 Jan 2026Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Removes the alignas macro workaround and conditionally excludes the two extended-alignment type definitions in src/include/c.h for g++ before version 9. Peter Eisentraut explicitly attributes this approach to Tom Lane's original proposal in #16, following the LLVM breakage reported in #15.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom reported that the macro workaround broke LLVM headers in #15, and his earlier proposal to hide the affected declarations in #10 was adopted as confirmed in #16.
Work around buggy alignas in older g++
25 Jan 2026Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Implements Peter Eisentraut's inline alignas-to-attribute workaround from #11 in src/include/c.h, expanding the cutoff to g++ before version 9 as requested in #12 and excluding clang. This workaround is absent from the attached series.

  • Tom Lanesaw the final versiontrailerTom reported the C++ alignment failure in #10 and reviewed the inline workaround in #12, requesting the version cutoff that was committed.

Nov 2025

4 commits
Use C11 alignas in pg_atomic_uint64 definitions
27 Nov 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #11 of 1 reviewer saw the final version

Lands the atomic-types component of the four-patch series in #1, preserving its alignas(8) conversions in arch-ppc.h, generic-gcc.h, and generic-msvc.h. Differences are a removed blank line in generic-gcc.h and a rewritten commit explanation.

  • Chao Lisaw the final versiontrailerChao reported a successful macOS build and make check and explicitly reviewed the atomic alignment conversion in #4.
C11 alignas instead of unions -- extended alignments
24 Nov 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #11 of 1 reviewer saw the final version

Lands the complete extended-alignment component of #1, with unchanged substantive hunks converting PGIOAlignedBlock and PGAlignedXLogBlock in src/include/c.h and simplifying PG_O_DIRECT in src/include/storage/fd.h. The partial verdict reflects its being one component of the submitted series.

  • Chao Lisaw the final versiontrailerChao tested the series and accepted removing the compiler-alignment fallback while suggesting an ABI explanation in #4.
C11 alignas instead of unions
21 Nov 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #11 of 1 reviewer saw the final version

Lands the fundamental-alignment component of #1, preserving the toast_internals.c, inv_api.c, and c.h changes. The async.c conversion follows an intervening base-tree refactor from page_buffer in asyncQueueReadAllNotifications to local_buf in asyncQueueProcessPageEntries, retaining the same union-to-alignas transformation.

  • Chao Lisaw the final versiontrailerChao tested the series and suggested ABI commentary and explicit alignof syntax in #4, with only a mechanical adaptation to the newer async.c code following his review.
Add <stdalign.h> to c.h
19 Nov 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #11 of 1 reviewer saw the final version

Lands exactly the first component of #1: adding #include <stdalign.h> to src/include/c.h. The partial verdict reflects the split of the four-patch submission into separate commits, with no substantive edits to this component.

  • Chao Lisaw the final versiontrailerChao called the header inclusion straightforward and reported successful build and regression testing of the series in #4.

Credits across 7 commits

Author
Peter EisentrautLLM4
Reviewer
Chao Li4
Tom Lane1
Committer
Peter Eisentraut6
Tom Lane1

N LLM means N of the credits come from LLM analysis, not from commit trailers.