Re: why local_preload_libraries does require a separate directory ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why local_preload_libraries does require a separate directory ?
Дата
Msg-id 17796.1323033362@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: why local_preload_libraries does require a separate directory ?  (Tomas Vondra <tv@fuzzy.cz>)
Ответы Re: why local_preload_libraries does require a separate directory ?  (Tomas Vondra <tv@fuzzy.cz>)
Список pgsql-hackers
Tomas Vondra <tv@fuzzy.cz> writes:
> On 3.12.2011 18:53, Tom Lane wrote:
>> Security: it lets the DBA constrain which libraries are loadable this way.

> But local_preload_libraries can be set only in postgresql.conf, right?

No.  It's PGC_BACKEND, which means it can be set at connection start by
a client (eg, via PGOPTIONS).

> The problem I'm trying to solve right now is that I do have an extension
> that needs to install two .so libraries - one loaded using
> shared_preload_libraries, one loaded using local_preload_libraries.

Um ... why would you design it like that?
        regards, tom lane


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: cannot read pg_class without having selected a database / is this a bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cannot read pg_class without having selected a database / is this a bug?