Re: alter user set local_preload_libraries.
От | Fujii Masao |
---|---|
Тема | Re: alter user set local_preload_libraries. |
Дата | |
Msg-id | CAHGQGwERUZtZ8wz6S6tY8ongyCLAgiaYJk8CtdxJyUBQV7s22A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: alter user set local_preload_libraries. (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: alter user set local_preload_libraries.
|
Список | pgsql-hackers |
On Wed, Jul 2, 2014 at 11:15 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> writes: >> postgres=# alter user horiguti2 set local_preload_libraries='libname'; >> ERROR: parameter "local_preload_libraries" cannot be set after connection start > > Hm ... it's kind of annoying that that doesn't work; it's certainly not > hard to imagine use-cases for per-user or per-database settings of > local_preload_libraries. However, I'm not sure if we apply per-user or > per-database settings early enough in backend startup that they could > affect library loading. If we do, then the ALTER code needs to be > taught to allow this. ISTM that's what session_preload_libraries does. Anyway I agree with Horiguchi that we should remove incorrect description from the document of old versions. Regards, -- Fujii Masao
В списке pgsql-hackers по дате отправления: