pgsql: Fix alignas placement in GinTuple - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix alignas placement in GinTuple
Date
Msg-id E1x9HSo-00000000sjP-1pnz@gemulon.postgresql.org
Whole thread
List pgsql-committers
Fix alignas placement in GinTuple

Commit bad8829872d added an alignas specifier, and placed it in the
middle of the declaration, unlike most existing uses, possibly to
avoid the indentation problem recently fixed in commit 884f82ae262.
This placement is valid in C but not in C++, which requires it to be
at the beginning.  This results in a warning in g++ and an error in
clang++.  Fix by moving it accordingly.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9bfdcfbfcf98f819a5f7f35fa3dee25bcf96b3a5

Modified Files
--------------
src/include/access/gin_tuple.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix sequence synchronization failure on a concurrent refresh.
Next
From: Dean Rasheed
Date:
Subject: pgsql: Fix concurrent delete handling in MERGE ... WHEN NOT MATCHED BY