Re: pg_ctl less than useful error message on windows when privileges wrong for postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_ctl less than useful error message on windows when privileges wrong for postgres
Date: 2008-10-22 02:45:57
Message-ID: 15265.1224643557@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Cramer <pg(at)fastcrypt(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-10-22 02:48:12 Re: Bitmap Indexes: request for feedback
Previous Message Gregory Stark 2008-10-21 23:00:08 Re: Bitmap Indexes: request for feedback