pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make some use of anonymous unions [DSM registry].
Date: Fri, 03 Oct 2025 15:15:07 +0000
Message-ID: <E1v4hUx-001HTN-1E@gemulon.postgresql.org> (raw)

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@eisentraut.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(-)



view thread (8+ messages)  latest in thread

Message-ID: <E1v4hUx-001HTN-1E@gemulon.postgresql.org>
Permalink:  ../E1v4hUx-001HTN-1E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1v4hUx-001HTN-1E@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make some use of anonymous unions [DSM registry].
  In-Reply-To: <E1v4hUx-001HTN-1E@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox