Re: proposal: only superuser can change customized_options

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal: only superuser can change customized_options
Дата
Msg-id 6976.1170434410@sss.pgh.pa.us
обсуждение исходный текст
Ответ на proposal: only superuser can change customized_options  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Ответы Re: proposal: only superuser can change customized_options
Список pgsql-hackers
"Pavel Stehule" <pavel.stehule@hotmail.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Function proposal to find the type of a datum
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Proposal: Snapshot cloning