pgsql: Make some use of anonymous unions [DSM registry].
pgsql: 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 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(-)