Re: pg_ctl less than useful error message on windows when privileges wrong for postgres - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_ctl less than useful error message on windows when privileges wrong for postgres
Date
Msg-id 15265.1224643557@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_ctl less than useful error message on windows when privileges wrong for postgres  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-hackers
Dave Cramer <pg@fastcrypt.com> writes:
> On 21-Oct-08, at 5:24 PM, Tom Lane wrote:
>> It's fairly hard to see how that mistake leads to that symptom.
>> Can you poke a bit more into exactly what is happening?

> when I executed postgres.exe directly it complained of the user having  
> admin privs

With no arguments, that's not surprising; but pg_ctl invokes it with the
-V option, which should result in a version response occurring before
the root-privileges check (look at main/main.c).  So I think there's
something going on here that you've not identified.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Myron Scott
Date:
Subject: Re: Multi CPU Queries - Feedback and/or suggestions wanted!
Next
From: Tom Lane
Date:
Subject: Re: Bitmap Indexes: request for feedback