How can I configure PostgreSQL 9.0 to start automatically under Windows XP, Part II?
There's also one more setting to be noted...
On the same window where we set Automatic/Manual start up, there's a "Recovery" tab in which we can force the service to restart when a failure occurs.

But this might not be a good idea to use, especially on development environments, since it may help slip some possible problems past the developer's and/or administrator's eyes.