Re: 9.2RC1 wraps this Thursday ...

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: 9.2RC1 wraps this Thursday ...
Дата
Msg-id 503A879C.6070703@dunslane.net
обсуждение исходный текст
Ответ на Re: 9.2RC1 wraps this Thursday ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 08/26/2012 03:15 PM, Tom Lane wrote:


> BTW, one idea that occurs to me is to bypass the problem by skipping
> the server's no-root-privileges check when the postmaster is given the
> -C switch.  (This shouldn't pose a security hazard, since reading the
> config files is something a root-privileged caller could do anyway.)
> I don't immediately see a non-ugly way to do that in the current server
> code structure, but maybe somebody else will have an idea.
>


I had the same idea, and couldn't see a simple way to do it either. The 
trouble is that the check_root() call comes too early for us to do it 
cleanly. But I'll have another look.

cheers

andrew





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 9.2RC1 wraps this Thursday ...
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: 64-bit API for large object