Thread: starting postmaster under windows

starting postmaster under windows

From
jcvdm@webmail.co.za
Date:
Hi all,

I have installed postgresql under windows and are trying to write a
procedure in c++ that will start the postmaster exe using
CreateProcessAsUser. It starts and then fails with error:

"The application failed to initialize properly (oxc0000142). Click on OK
to terminate the application."

I am at a lost here. Any ideas would tealy be helpful.

Regards

johan


-------------------------------------------
For super low premiums, click here http://www.webmail.co.za/dd.pwm


Re: starting postmaster under windows

From
Stijn Vanroye
Date:
jcvdm@webmail.co.za schreef:
> Hi all,
>
> I have installed postgresql under windows and are trying to write a
> procedure in c++ that will start the postmaster exe using
> CreateProcessAsUser. It starts and then fails with error:
>
> "The application failed to initialize properly (oxc0000142). Click on OK
> to terminate the application."
>
> I am at a lost here. Any ideas would tealy be helpful.
>
> Regards
>
> johan
>
>
> -------------------------------------------
> For super low premiums, click here http://www.webmail.co.za/dd.pwm
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
>

If I'm not mistaken postgres is a service. You will need the net start
and net stop commands.

Sincerely,

Stijn.