Re: Postmaster won't run as service on Cygwin - Mailing list pgsql-general

From Andreas
Subject Re: Postmaster won't run as service on Cygwin
Date
Msg-id 40567A23.1050105@gmx.net
Whole thread Raw
In response to Re: Postmaster won't run as service on Cygwin  (Andreas <maps.on@gmx.net>)
Responses Re: Postmaster won't run as service on Cygwin
List pgsql-general
Update 2:

OK, I've got it narrowed down even further.
Don't laugh !

It's the name of the service "postmaster".

This line creates a service that won't start.
$ cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D
/cygdrive/i/db_data/pgsql_data -i" --dep ipc-daemon2 --termsig INT
--user postgres --shutdown

but this line works:
$ cygrunsrv --install postmaster5 --path /usr/bin/postmaster --args "-D
/cygdrive/i/db_data/pgsql_data -i" --dep ipc-daemon2 --termsig INT
--user postgres --shutdown

It's not the data directory.
Right now I have both services installed, but not started.
"postmaster5" can be started but "postmaster" throws error 1067

go figure ...

Andreas


pgsql-general by date:

Previous
From: Gregory Wood
Date:
Subject: Re: Trigger loop question
Next
From: Mike Nolan
Date:
Subject: Re: Trigger loop question