pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make some use of anonymous unions [reloptions]
Date: Thu, 22 Jan 2026 16:07:48 +0000
Message-ID: <E1vixDn-0021M0-2f@gemulon.postgresql.org> (raw)

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

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(-)



view thread (8+ messages)

Message-ID: <E1vixDn-0021M0-2f@gemulon.postgresql.org>
Permalink:  ../E1vixDn-0021M0-2f@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vixDn-0021M0-2f@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make some use of anonymous unions [reloptions]
  In-Reply-To: <E1vixDn-0021M0-2f@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox