pgsql: C11 alignas instead of unions -- extended alignments

2025-11-23 Thread Peter Eisentraut
C11 alignas instead of unions -- extended alignments This replaces some uses of pg_attribute_aligned() with the standard alignas() for cases where extended alignment (larger than max_align_t) is required. This patch stipulates that all supported compilers must support alignments up to PG_IO_ALIGN

pgsql: C11 alignas instead of unions

2025-11-21 Thread Peter Eisentraut
C11 alignas instead of unions This changes a few union members that only existed to ensure alignments and replaces them with the C11 alignas specifier. This change only uses fundamental alignments (meaning approximately alignments of basic types), which all C11 compilers must support. There are o