pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Prevent extensions from creating custom GUCs that are GUC_LIST_Q
Date: Thu, 22 Mar 2018 00:11:14 +0000
Message-ID: <E1eynp4-0002Ux-7o@gemulon.postgresql.org> (raw)

Prevent extensions from creating custom GUCs that are GUC_LIST_QUOTE.

Pending some solution for the problems noted in commit 742869946,
disallow dynamic creation of GUC_LIST_QUOTE variables.

If there are any extensions out there using this feature, they'd not
be happy for us to start enforcing this rule in minor releases, so
this is a HEAD-only change.  The previous commit didn't make things
any worse than they already were for such cases.

Discussion: https://postgr.es/m/20180111064900.GA51030@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/846b5a525746b83813771ec4720d664408c47c43

Modified Files
--------------
src/backend/utils/misc/guc.c | 9 +++++++++
1 file changed, 9 insertions(+)



Message-ID: <E1eynp4-0002Ux-7o@gemulon.postgresql.org>
Permalink:  ../E1eynp4-0002Ux-7o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eynp4-0002Ux-7o@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Prevent extensions from creating custom GUCs that are GUC_LIST_Q
  In-Reply-To: <E1eynp4-0002Ux-7o@gemulon.postgresql.org>
  References: <E1eynp4-0002Ux-7o@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