pgsql: Prevent extensions from creating custom GUCs that are GUC_LIST_Q

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Prevent extensions from creating custom GUCs that are GUC_LIST_Q
Date: 2018-03-22 00:11:14
Message-ID: E1eynp4-0002Ux-7o@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-03-22 02:30:44 pgsql: Basic JIT provider and error handling infrastructure.
Previous Message Tom Lane 2018-03-22 00:03:51 pgsql: Fix mishandling of quoted-list GUC values in pg_dump and ruleuti