Postgres server startup - Mailing list pgsql-general

From CM J
Subject Postgres server startup
Date
Msg-id d65fd1a40904142300w6f9db53xd9f48c48abbe9cfa@mail.gmail.com
Whole thread Raw
Responses Re: Postgres server startup
List pgsql-general
Hi,

         When logged in as administrator, i start the postgres server with the following command:

runas /user:postgres "D:\postgres_new\pgsql\bin\pg_ctl.exe start -D D:\postgres_new\pgsql\data"

           The problem is "runas" cmd is not script friendly as i can not pass the password as a cmd line argument.Is there any way i can start the postgres server using pg_ctl.exe while logged in as administrator without using "runas" ??

Thanks!



pgsql-general by date:

Previous
From: Koichi Suzuki
Date:
Subject: Re: Minimizing Recovery Time (wal replication)
Next
From: Johan Nel
Date:
Subject: Re: Disconnected editing - versioning of databases