]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make some use of anonymous unions [DSM registry].
authorNathan Bossart <nathan@postgresql.org>
Fri, 3 Oct 2025 15:14:33 +0000 (10:14 -0500)
committerNathan Bossart <nathan@postgresql.org>
Fri, 3 Oct 2025 15:14:33 +0000 (10:14 -0500)
commit74b41f5a77b8586356d02227c92e7e47380ac228
tree8a2118b78e1343eebc7ac04b761bcc7001d9985e
parenta69b55cd47274d897f4d92c466bfda461c9acfda
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
src/backend/storage/ipc/dsm_registry.c