Re: 9.2RC1 wraps this Thursday ...

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Amit kapila <amit(dot)kapila(at)huawei(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 9.2RC1 wraps this Thursday ...
Date: 2012-08-26 20:31:24
Message-ID: 503A879C.6070703@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2012-08-26 23:25:30 Re: 64-bit API for large object
Previous Message Tom Lane 2012-08-26 19:15:56 Re: 9.2RC1 wraps this Thursday ...