Make some use of anonymous unions [libpq-oauth]
Jacob Champion <jchampion@postgresql.org>
Author:
Jacob Champion <jchampion@postgresql.org>
Date: 2025-11-24T17:55:16Z
Releases:
19 (unreleased)
Make some use of anonymous unions [libpq-oauth] 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 json_field struct. Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://postgr.es/m/CAOYmi%2BnV25oC5uXFgWodydGrHkfWMDCLUcjbAreM3mNX%3DF2JWw%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq-oauth/oauth-curl.c | modified | +10 −10 |
Discussion
- anonymous unions (C11) 15 messages · 2025-09-23 → 2026-01-21