pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: libpq: Change "options" dispchar to normal
Date: Fri, 07 Sep 2018 13:13:22 +0000
Message-ID: <E1fyGZe-0002qJ-Is@gemulon.postgresql.org> (raw)

libpq: Change "options" dispchar to normal

libpq connection options as returned by PQconndefaults() have a
"dispchar" field that determines (among other things) whether an option
is a "debug" option, which shouldn't be shown by default to clients.
postgres_fdw makes use of that to control which connection options to
accept from a foreign server configuration.

Curiously, the "options" option, which allows passing configuration
settings to the backend server, was listed as a debug option, which
prevented it from being used by postgres_fdw.  Maybe it was once meant
for debugging, but it's clearly in general use nowadays.

So change the dispchar for it to be the normal non-debug case.  Also
remove the "debug" reference from its label field.

Reported-by: Shinoda, Noriyoshi <noriyoshi.shinoda@hpe.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1fea1e325492b10f645809204631426bb6abbe6e

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1fyGZe-0002qJ-Is@gemulon.postgresql.org>
Permalink:  ../E1fyGZe-0002qJ-Is@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fyGZe-0002qJ-Is@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: peter_e@gmx.net
  Subject: Re: pgsql: libpq: Change "options" dispchar to normal
  In-Reply-To: <E1fyGZe-0002qJ-Is@gemulon.postgresql.org>
  References: <E1fyGZe-0002qJ-Is@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