Re: alter user set local_preload_libraries.

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: alter user set local_preload_libraries.
Дата
Msg-id CAHGQGwFvGYaDUJyLF_MPysO5yBTdwUC3decaXsxOS3XmWwCU4w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: alter user set local_preload_libraries.  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: alter user set local_preload_libraries.  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Wed, Nov 5, 2014 at 1:22 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On 10/9/14 1:58 PM, Fujii Masao wrote:
>> Also I think that it's useful to allow ALTER ROLE/DATABASE SET to
>> set PGC_BACKEND and PGC_SU_BACKEND parameters. So, what
>> about applying the attached patch? This patch allows that and
>> changes the context of session_preload_libraries to PGC_SU_BACKEND.
>
> After looking through this again, I wonder whether there is any reason
> why ignore_system_indexes cannot be plain PGC_USERSET.  With this
> change, we'd allow setting it via ALTER ROLE, but the access to
> pg_db_role_setting happens before it.

Even without the patch, we can set ignore_system_indexes
at the startup of the connection because it's defined with
PGC_BACKEND context, but the access to system tables
can happen before that. Am I missing something?

Regards,

-- 
Fujii Masao



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Proposal: Log inability to lock pages during vacuum
Следующее
От: Robert Haas
Дата:
Сообщение: Re: what does this mean: "running xacts with xcnt == 0"