Pavel Stehule wrote:
> On 01/11/2007, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > "Pavel Stehule" <pavel.stehule@gmail.com> writes:
> > > When I try manually rebuild cluster I had second problem:
> >
> > > C:\PostgreSQL\bin>initdb -D ../data
> > > The program "postgres" is needed by initdb but was not found in the
> > > same directory as "C:\PostgreSQL\bin/initdb".
> > > Check your installation.
> >
> > Do you have the same problem previously reported that "postgres -V"
> > doesn't work? If so, maybe taking out libxml2 will help?
> No, it is different problem. It was my beginner mistake :(. I run
> initdb as Administrator. It needs maybe some hint message. With runas
> initdb works.
IMHO we should check for an Administrator user and reject it
explicitely. The error message is way too obscure.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.