Waqar,
> my windows event viewer says:
> 2011-03-24 11:24:22 GMT FATAL: could not create lock file "postmaster.pid":
> Permission denied
> is this helpfull?
yes. that says that the windows-user your PostgreSQL Service is
running as has no write priv on the data directory. Check your file
systems permissions and allow writing to the data directory for the
user your PostgreSQL service runs as.
Best wishes
HArald
--
Harald Armin Massa www.2ndQuadrant.com
PostgreSQL Training, Services and Support
2ndQuadrant Deutschland GmbH
GF: Harald Armin Massa
Amtsgericht Stuttgart, HRB 736399