Make some use of anonymous unions [DSM registry].

Nathan Bossart <nathan@postgresql.org>

Commit: 74b41f5a77b8586356d02227c92e7e47380ac228
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2025-10-03T15:14:33Z
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

Files

PathChange+/−
src/backend/storage/ipc/dsm_registry.c modified +9 −9

Discussion