pgsql: Make some use of anonymous unions [libpq-oauth]

From: Jacob Champion <jchampion(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make some use of anonymous unions [libpq-oauth]
Date: 2025-11-24 20:24:28
Message-ID: E1vNd6p-001E3Q-1w@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAOYmi%2BnV25oC5uXFgWodydGrHkfWMDCLUcjbAreM3mNX%3DF2JWw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f1881c7dd32cf5f429f6bd525b5cbacef3bb9c99

Modified Files
--------------
src/interfaces/libpq-oauth/oauth-curl.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2025-11-24 21:02:18 Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent
Previous Message Nathan Bossart 2025-11-24 19:03:06 Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent