Make some use of anonymous unions [reloptions]
Álvaro Herrera <alvherre@kurilemu.de>
Make some use of anonymous unions [reloptions] In the spirit of commit 4b7e6c73b0df and following, which see for more details; it appears to have been quite an uncontroversial C11 feature to use and it makes the code nicer to read. This commit changes the relopt_value struct. Author: Peter Eisentraut <peter@eisentraut.org> Author: Álvaro Herrera <alvherre@kurilemu.de> Note: Yes, this was written twice independently. Discussion: https://postgr.es/m/202601192106.zcdi3yu2gzti@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/reloptions.c | modified | +19 −19 |
| src/include/access/reloptions.h | modified | +1 −1 |
Discussion
- anonymous unions (C11) 15 messages · 2025-09-23 → 2026-01-21