Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Zeugswetter Andreas OSB sIT" <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Charlie Savage" <cfis(at)savagexi(dot)com>, "Magnus Hagander" <magnus(at)hagander(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Date: 2008-10-15 09:59:15
Message-ID: 937d27e10810150259s30514c6n8b1678134779165b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 15, 2008 at 10:49 AM, Zeugswetter Andreas OSB sIT
<Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at> wrote:
>
>> The user running initdb (or the postmaster) needs
>> SeCreateGlobalPrivilege - which is something we cannot really start
>
> Why not ? Doesn't the pg installer already tweak the permissions of the
> installation user. On XP you can connect to session 0, so that is an alternative on XP.

It does, but that's not the user running initdb.

>> the global namespace is there to ensure things work as they should
>> under a non-console terminal services session - which is pretty rare
>> and can usually be avoided.
>
> Hm? non-console is the default for remote, and all you can get in Vista/2008 and up.

I didn't realise you couldn't get console on Vista/2K8. Guess I've
spent too much time on Macs in the last couple of years :-)

> The reason it should be in the Global namespace is that shmem is one part of
> detecting an existing postmaster. Especially in situations where the db is started
> by hand, the protection against duplicate startup is important.

Yeah, as Magnus reminded me.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua Tolley 2008-10-15 10:53:10 Cross-column statistics revisited
Previous Message Zeugswetter Andreas OSB sIT 2008-10-15 09:49:52 Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED