Re: anonymous unions (C11)
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-03T07:01:26Z
Lists: pgsql-hackers
On 23.09.25 16:17, Nathan Bossart wrote: > On Tue, Sep 23, 2025 at 11:38:22AM +0200, Peter Eisentraut wrote: >> That said, I did go overboard here and converted all the struct/union >> combinations I could find, but I'm not necessarily proposing to apply >> all of them. I'm proposing patches 0001 through 0004, which are >> relatively simple or in areas that have already changed a few times >> recently (so backpatching would not be trivial anyway), and/or they >> are somewhat close to my heart because they originally motivated this >> work a long time ago. But if someone finds among the other patches >> one that they particularly like, we could add that one as well. > > I would have used this in the DSM registry if it was available. Patch > attached. This looks good to me, and also mostly harmless in terms of backpatching.
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