pgsql: Prevent extensions from creating custom GUCs that are GUC_LIST_Q

Started by Tom Laneover 8 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/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(+)