On 21-Oct-08, at 5:24 PM, Tom Lane wrote:

Dave Cramer <[EMAIL PROTECTED]> writes:
I have a client who mistakenly gave the postgres user on a windows
machine admin privileges.

This mistake results in the service being unable to start up due to
postgres refusing to start with admin privileges.

The error message from pg_ctl start -D bindir is PG_CTL.."could not
locate matching postgres executable"

It's fairly hard to see how that mistake leads to that symptom.
Can you poke a bit more into exactly what is happening?

find_my_exec returns -1 for a number of errors resulting in an error message much like above (wording is slightly different).

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

I removed admin privs from the pg user and pg_ctl worked fine.

I know it's not very specific, but fairly damning.

Dave


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to