| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Make some use of anonymous unions [reloptions] |
| Date: | 2026-01-22 16:07:48 |
| Message-ID: | E1vixDn-0021M0-2f@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)eisentraut(dot)org>
Author: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Note: Yes, this was written twice independently.
Discussion: https://postgr.es/m/202601192106.zcdi3yu2gzti@alvherre.pgsql
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/69f98fce5bfb82260c66bdae88b6293146cf79ec
Modified Files
--------------
src/backend/access/common/reloptions.c | 38 +++++++++++++++++-----------------
src/include/access/reloptions.h | 2 +-
2 files changed, 20 insertions(+), 20 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-01-22 23:35:46 | pgsql: Remove faulty Assert in partitioned INSERT...ON CONFLICT DO UPDA |
| Previous Message | Peter Eisentraut | 2026-01-22 15:07:15 | pgsql: Record range constructor functions in pg_range |