Re: alter user set local_preload_libraries. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: alter user set local_preload_libraries.
Date
Msg-id 5458FD2B.5000504@gmx.net
Whole thread Raw
In response to Re: alter user set local_preload_libraries.  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: alter user set local_preload_libraries.
Re: alter user set local_preload_libraries.
List pgsql-hackers
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.  So if there is anything unsafe
about changing ignore_system_indexes, then this would be a problem, but
I don't see anything.




pgsql-hackers by date:

Previous
From: Marc Munro
Date:
Subject: Re: [BUGS] BUG #11867: Strange behaviour with composite types after resetting database tablespace
Next
From: Kevin Wooten
Date:
Subject: Re: [JDBC] Pipelining executions to postgresql server