"Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com> writes:
> I want to use custmized option for security configuration one contrib
> library. Currently customized options are usable only for default
> configuration, because everybody can change it. It is substitution of global
> variables.
> Decision if option is protected or not can be based on name of option.
I dislike making it depend on spelling. There was discussion of this
problem before, and we had a much saner answer: when the module that
defines the variable gets loaded, discard any local setting if the
correct protection level of the variable is SUSET or higher. See the
archives.
regards, tom lane