Postgres server startup

From: CM J <postgres(dot)newbie(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Postgres server startup
Date: 2009-04-15 06:00:41
Message-ID: d65fd1a40904142300w6f9db53xd9f48c48abbe9cfa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2009-04-15 06:48:15 Re: Postgres server startup
Previous Message Johan Nel 2009-04-15 05:23:52 Re: Disconnected editing - versioning of databases