Commit 584e35d
committed
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 Horiguchi1 parent 2a3f274 commit 584e35d
2 files changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6292 | 6292 | | |
6293 | 6293 | | |
6294 | 6294 | | |
6295 | | - | |
6296 | | - | |
| 6295 | + | |
| 6296 | + | |
| 6297 | + | |
6297 | 6298 | | |
6298 | 6299 | | |
6299 | 6300 | | |
| |||
6311 | 6312 | | |
6312 | 6313 | | |
6313 | 6314 | | |
6314 | | - | |
| 6315 | + | |
| 6316 | + | |
| 6317 | + | |
| 6318 | + | |
| 6319 | + | |
| 6320 | + | |
| 6321 | + | |
| 6322 | + | |
| 6323 | + | |
| 6324 | + | |
| 6325 | + | |
6315 | 6326 | | |
6316 | 6327 | | |
6317 | 6328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2920 | 2920 | | |
2921 | 2921 | | |
2922 | 2922 | | |
2923 | | - | |
| 2923 | + | |
2924 | 2924 | | |
2925 | 2925 | | |
2926 | 2926 | | |
| |||
0 commit comments