pg_bsd_indent doesn't know about alignas(), so a struct member declared with it is misindented unless it's the first member. Disguise each alignas(...) call as a plain identifier while indenting, restoring it afterward. Stash the call's original text by index rather than embedding it in the placeholder: embedding only works for a single-token argument, and fails to match at all against nested parens (e.g. alignas(sizeof(x))) or a line break, silently skipping the disguise. This is backpatched to PostgreSQL 19 because it is by coincidence needed for a bug fix. Co-authored-by: Peter Eisentraut <peter@eisentraut.org> Co-authored-by: Andrew Dunstan <andrew@dunslane.net> Discussion: https://postgr.es/m/94a128da-bf3e-46bd-9e2d-609573c484da@eisentraut.org
PostgreSQL Database Management System
This directory contains the source code distribution of the PostgreSQL database management system.
PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions. This distribution also contains C language bindings.
Copyright and license information can be found in the file COPYRIGHT.
General documentation about this version of PostgreSQL can be found at https://www.postgresql.org/docs/19/. In particular, information about building PostgreSQL from the source code can be found at https://www.postgresql.org/docs/19/installation.html.
The latest version of this software, and related software, may be obtained at https://www.postgresql.org/download/. For more information look at our web site located at https://www.postgresql.org/.