My testing on Vista shows we don't need them for Cygwin.
Magnus Hagander wrote:
> AFAIK, we will if we want to run as Administrator on Vista. I'm not
> sure what we're doing there is actually compatible with it though. And
> do we care? I'm perfectly fine saying that we don't support that part
> on cygwin, and just #ifdef the whole thing out there?
> Andrew Dunstan wrote:
>> You have broken the Cygwin build (see buildfarm). Will we need those
>> calls to AddUserToDacl() on Cygwin? If not, the simplest thing would
>> be to #ifdef them out, I guess.
>> Magnus Hagander wrote:
>>> Log Message:
>>> Fix handling of restricted processes for Windows Vista (mainly),
>>> by explicitly adding back the user to the DACL of the new process.
>>> This fixes the failure case when executing as the Administrator
>>> user, which had no permissions left at all after we dropped the
>>> Administrators group.
>>> Dave Page with some modifications from me
>>> Modified Files:
>>> initdb.c (r1.153 -> r1.154)
>>> pg_ctl.c (r1.94 -> r1.95)
>>> port.h (r1.117 -> r1.118)
>>> exec.c (r1.57 -> r1.58)
>>> ---------------------------(end of
>>> TIP 3: Have you checked our extensive FAQ?
In response to
pgsql-committers by date
|Next:||From: Andrew Dunstan||Date: 2008-02-29 23:31:20|
|Subject: pgsql: Don't call AddUserToDacl on Cygwin|
|Previous:||From: Alvaro Herrera||Date: 2008-02-29 20:58:33|
|Subject: pgsql: Remove long-unused and broken TCL_ARRAYS.|