The following bug has been logged online:
Bug reference: 5683
Logged by:
Email address: donovansc@yahoo.com
PostgreSQL version: 9.0.0
Operating system: Windows7 x64
Description: Service path incorrectly configured
Details:
The windows service for starting the database has an incorrectly configured
execution path.
By default, it is:
C:/Program Files/PostgreSQL/9.0/bin/pg_ctl.exe runservice -N
"postgresql-x64-9.0" -D "C:/Program Files/PostgreSQL/9.0/data" -w
However, / is not valid for Windows. It should be:
C:\Program Files\PostgreSQL\9.0\bin\pg_ctl.exe runservice -N
"postgresql-x64-9.0" -D "C:\Program Files\PostgreSQL\9.0\data" -w
After altering this value in the registry at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\postgresql-x64-9.0
I am now able to start/stop the service normally.