I run PostgreSQL as a Service.
In Administration - Services, I can see the following path
"C:\Program Files\PostgreSQL\8.4.3-3.1C\bin\pg_ctl.exe" runservice -w -N "pgsql-8.4.3-3.1C" -D "C:\Program Files\PostgreSQL\8.4.3-3.1C\data\"
-D "C:\Program Files\PostgreSQL\8.4.3-3.1C\data\"
is used for the data path.
But how can I change this? I want to start this service in the following way
"C:\Program Files\PostgreSQL\8.4.3-3.1C\bin\pg_ctl.exe" runservice -w -N "pgsql-8.4.3-3.1C" -D "C:\pgsql\data\"
How can I change it?