Solution of my problem was.
- I downloaded latest Cygwin with Postgresql 7.3.1 and installed from cygwin.com
- Downloaded Cygipc 1.13-2 (Also sent by Patrick) and unzipped using
$ tar -C / -xjf cygipc-1.13-2.tar.bz2
- Created .bashrc in '/' directory
PATH=$PATH:/usr/local/pgsql/bin:/usr/local/bin
PGDATA=/usr/local/pgsql/data
PGLIB=/usr/local/pgsql/lib
LD_LIBRARY_PATH=/usr/local/pgsql/lib:/usr/local/lib
export LD_LIBRARY_PATH PATH PGDATA PGLIB
- Ran '$ source /.bashrc
- I ran '$ ipc-daemon&' and then I ran '$ initdb'
- Then finally ran '$ postmaster -i'
And to my surprise adduser, createdb etc. all started working. Cool!!!
And thanks again for your kind help guys.
Onkar Chandel