it seems that you are missing cygserver.
I am just doing some testing of 8.0.4 vs 8.1.2 under cygwin and I get
the same when I forget cygserver.
After you install cygwin, do the following -
export CYGWIN=server (not clear if needed, try without it)
unset LANG (not clear if needed, try without it)
Then you do -
in the source directory.
export CYGWIN=server (makes initdb use the cygserver)
initdb -D /usr/local/pgsql/data
This should work.
pgsql-cygwin by date
|Next:||From: firstname.lastname@example.org||Date: 2006-01-23 20:41:37|
|Subject: Re: can't get postgresql to start on cygwin...|
|Previous:||From: Reini Urban||Date: 2006-01-20 12:57:33|
|Subject: Re: service 'postmaster' failed: signal 12 raised|