Re: 9.2RC1 wraps this Thursday ... - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: 9.2RC1 wraps this Thursday ...
Date
Msg-id 503A879C.6070703@dunslane.net
Whole thread Raw
In response to Re: 9.2RC1 wraps this Thursday ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: 9.2RC1 wraps this Thursday ...
Next
From: Tatsuo Ishii
Date:
Subject: Re: 64-bit API for large object