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