pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Cleanup code in reloptions.h regarding reloption handling
Date: Thu, 14 Nov 2019 05:07:06 +0000
Message-ID: <E1iV7LW-0005v8-OY@gemulon.postgresql.org> (raw)

Cleanup code in reloptions.h regarding reloption handling

reloptions.h includes since ba748f7 a set of macros to handle reloption
types in a way similar to how parseRelOptions() works.  They have never
been used in the core code, and we have more simple methods now to parse
and fill in rd_options for a given relation depending on its relkind, so
remove this interface to simplify things.

Per discussion between Amit Langote, Álvaro Herrera and me.

Discussion: https://postgr.es/m/CA+HiwqE6zbNO92az6pp5GiTw4tr-9rfCE0t84whQSP+YwSKjMQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/50d22de9325f41a32faeb0d1055f50b43d0507b3

Modified Files
--------------
src/backend/access/common/reloptions.c |  15 +++-
src/include/access/reloptions.h        | 126 ++-------------------------------
2 files changed, 17 insertions(+), 124 deletions(-)



Message-ID: <E1iV7LW-0005v8-OY@gemulon.postgresql.org>
Permalink:  ../E1iV7LW-0005v8-OY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iV7LW-0005v8-OY@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Cleanup code in reloptions.h regarding reloption handling
  In-Reply-To: <E1iV7LW-0005v8-OY@gemulon.postgresql.org>
  References: <E1iV7LW-0005v8-OY@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