[GENERAL] Postgres server startup

2009-04-15 Thread CM J
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

Re: [GENERAL] Postgres server startup

2009-04-15 Thread John R Pierce
CM J wrote: 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