Re: anonymous unions (C11)
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-01-19T21:10:25Z
Lists: pgsql-hackers
Attachments
- 0001-Make-some-use-of-anonymous-unions.patch (text/x-diff)
On 2025-Sep-23, Peter Eisentraut wrote: > Here is another patch set to sprinkle some C11 features around the > code. My aim is to make a little bit of use of several C11 features > as examples and encouragement for future code, and to test compilers > (although we're not yet at the point where this should really stress > any compiler). I was going over patch [1] today and came across the union in relopt_value. Vaguely remembering this thread, I patched it out (attached) ... and now that I come here to post it, I realize that it's probably identical to your patch 0009 here. Would you push it or can I? [1] https://postgr.es/m/4047390.3Lj2Plt8kZ@thinkpad-pgpro -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
Commits
-
Make some use of anonymous unions [reloptions]
- 69f98fce5bfb 19 (unreleased) landed
-
Make some use of anonymous unions [libpq-oauth]
- f1881c7dd32c 19 (unreleased) landed
-
Make some use of anonymous unions [DSM registry].
- 74b41f5a77b8 19 (unreleased) landed
-
Make some use of anonymous unions [pg_locale_t]
- 4b7e6c73b0df 19 (unreleased) landed
-
Make some use of anonymous unions [pgcrypto]
- efcd5199d8cb 19 (unreleased) landed
-
Make some use of anonymous unions [plpython]
- 8b7f27fef3e2 19 (unreleased) landed
-
Make some use of anonymous unions [reorderbuffer xact_time]
- 57d46dff9b0b 19 (unreleased) landed