From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Change local_preload_libraries to PGC_USERSET |
Date: | 2014-12-23 04:11:15 |
Message-ID: | E1Y3GoV-0005nQ-Ek@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Change local_preload_libraries to PGC_USERSET
This allows it to be used with ALTER ROLE SET.
Although the old setting of PGC_BACKEND prevented changes after session
start, after discussion it was more useful to allow ALTER ROLE SET
instead and just document that changes during a session have no effect.
This is similar to how session_preload_libraries works already.
An alternative would be to change things to allow PGC_BACKEND and
PGC_SU_BACKEND settings to be changed by ALTER ROLE SET. But that might
need further research (e.g., log_connections would probably not work).
based on patch by Kyotaro Horiguchi
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/584e35d17c00b69d598522d3cf321fbd9b7dbd03
Modified Files
--------------
doc/src/sgml/config.sgml | 17 ++++++++++++++---
src/backend/utils/misc/guc.c | 2 +-
2 files changed, 15 insertions(+), 4 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2014-12-23 12:08:17 | pgsql: get_object_address: separate domain constraints from table const |
Previous Message | David G Johnston | 2014-12-23 02:19:02 | Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg |