Make some use of anonymous unions [DSM registry].
Nathan Bossart <nathan@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/dsm_registry.c | modified | +9 −9 |
Discussion
- anonymous unions (C11) 15 messages · 2025-09-23 → 2026-01-21