]> granicus.if.org Git - postgresql/commit
Prevent extensions from creating custom GUCs that are GUC_LIST_QUOTE.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Mar 2018 00:11:07 +0000 (20:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Mar 2018 00:11:07 +0000 (20:11 -0400)
commit846b5a525746b83813771ec4720d664408c47c43
treea1ec7ca6044e95d763172faab98f4da74ed4f0eb
parent742869946f4ff121778c2e5923ab51a451b16497
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
src/backend/utils/misc/guc.c