Re: [v9.1] Add security hook on initialization of instance
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [v9.1] Add security hook on initialization of instance |
| Дата | |
| Msg-id | 26197.1276572491@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [v9.1] Add security hook on initialization of instance (KaiGai Kohei <kaigai@ak.jp.nec.com>) |
| Ответы |
Re: [v9.1] Add security hook on initialization of instance
|
| Список | pgsql-hackers |
KaiGai Kohei <kaigai@ak.jp.nec.com> writes:
>>>> The attached patch tries to add one more security hook on the
>>>> initialization of PostgreSQL instance (InitPostgres()).
>> Yeah, but so what? Stephen's point is still valid.
> On the hook, I'd like to obtain security context of the client process
> which connected to the PostgreSQL instance. It is not available at the
> _PG_init() phase, because clients don't connect yet.
InitPostgres is called by a number of process types that don't *have*
clients. I concur with the other opinions that this hook is badly
thought out.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера