pgsql: Make some use of anonymous unions [DSM registry]. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Make some use of anonymous unions [DSM registry].
Date
Msg-id E1v4hUx-001HTN-1E@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Tidy-up unneeded NULL parameter checks from SQL function