Re: shared_preload_libraries is ignored in single user mode

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: shared_preload_libraries is ignored in single user mode
Дата
Msg-id AANLkTimSKidiDOJ2=wgyPGSB0HKYPoZ+ReVQ-KFFW2PF@mail.gmail.com
обсуждение исходный текст
Ответ на Re: shared_preload_libraries is ignored in single user mode  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Ответы Re: shared_preload_libraries is ignored in single user mode  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Список pgsql-hackers
2010/8/16 KaiGai Kohei <kaigai@ak.jp.nec.com>:
> Although nobody paid an attention, it seems to me a problem to be fixed.
>
> The attached patch fixes the problem using a simple idea which adds
> process_shared_preload_libraries() at PostgresMain() when we launched
> it in single-user mode.

I have no confidence at all that this is a sane thing to do.  I think
any enhanced security provider that needs system objects to be
labelled should provide a script to label them after the fact.  You
can't count on everyone who wants to use SE-PostgreSQL having made
that decision at initdb time.  I think we want to keep single-user
mode as lean and mean as possible, so that people can rely on it when
they need to fix their broken database.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgSQL EXECUTE '..' USING with unknown
Следующее
От: Tom Lane
Дата:
Сообщение: Re: JSON Patch for PostgreSQL - BSON Support?