1
0
mirror of https://github.com/postgres/postgres.git synced 2026-01-27 21:43:08 +03:00
Files
postgres/src/include
Peter Eisentraut d4c0f91f7d 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_SIZE, but that seems pretty likely.

We can then also desupport the case where direct I/O is disabled
because pg_attribute_aligned is not supported.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/46f05236-d4d4-4b4e-84d4-faa500f14691%40eisentraut.org
2025-11-24 07:39:37 +01:00
..
2025-01-01 11:21:55 -05:00
2025-11-05 11:44:13 +02:00
2025-01-01 11:21:55 -05:00
2025-11-05 11:44:13 +02:00
2025-01-01 11:21:55 -05:00
2025-01-01 11:21:55 -05:00
2025-01-15 18:57:53 +01:00
2025-09-04 17:25:43 +02:00
2025-11-06 07:37:22 +01:00
2025-01-15 18:57:53 +01:00
2025-01-15 18:57:53 +01:00
2025-01-01 11:21:55 -05:00
2025-01-15 18:57:53 +01:00