pgsql: Fix alignment of stack variable

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix alignment of stack variable
Date: 2024-04-08 03:52:14
Message-ID: E1rtg3J-0014Au-F1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix alignment of stack variable

Declare with union similar to PGAlignedBlock.

Report and fix by Andres Freund

Discussion: https://postgr.es/m/20240407190731.izm3mdazednrsiqk%40awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0ea51bac3802dca9dcf5cbaaf7a19a1c1ae4781a

Modified Files
--------------
src/backend/access/common/tidstore.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-04-08 05:02:55 pgsql: Add pg_buffercache_evict() function for testing.
Previous Message Masahiko Sawada 2024-04-08 03:15:45 pgsql: Add more tab completion support for ALTER DEFAULT PRIVILEGES in