pgsql: Make some use of anonymous unions [DSM registry].

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make some use of anonymous unions [DSM registry].
Date: 2025-10-03 15:15:07
Message-ID: E1v4hUx-001HTN-1E@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make some use of anonymous unions [DSM registry].

Make some use of anonymous unions, which are allowed as of C11, as
examples and encouragement for future code, and to test compilers.

This commit changes the DSMRegistryEntry struct.

Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://postgr.es/m/aNKsDg0fJwqhZdXX%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/74b41f5a77b8586356d02227c92e7e47380ac228

Modified Files
--------------
src/backend/storage/ipc/dsm_registry.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-10-03 19:03:40 pgsql: Optimize vector8_has_le() on AArch64.
Previous Message David Rowley 2025-10-03 10:05:19 pgsql: Tidy-up unneeded NULL parameter checks from SQL function