]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use C11 alignas instead of pg_attribute_aligned
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 29 Jun 2026 08:46:51 +0000 (10:46 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 1 Jul 2026 06:36:43 +0000 (08:36 +0200)
commit8061bfd15abe4d6943ac1563617c19fc069aad70
tree616d72985496cd49dc0bb5908fd8a665d93478d9
parentbe69a5ff1fd96cdbfe917ac4739142e52aab126e
Use C11 alignas instead of pg_attribute_aligned

Replace pg_attribute_aligned with C11 alignas, for consistency with
current conventions.

(These new uses were added by commit fbc57f2bc2e, which was developed
concurrently with the switch from pg_attribute_aligned to C11 standard
alignas, and it ended up being committed with the "old" style.)

Reviewed-by: John Naylor <johncnaylorls@gmail.com>
Discussion: https://postgr.es/m/CANWCAZaKhE+RD5KKouUFoxx1EbUNrNhcduM1VQ=DkSDadNEFng@mail.gmail.com
src/port/pg_crc32c_armv8.c