| From: | John R Pierce <pierce(at)hogranch(dot)com> |
|---|---|
| To: | CM J <postgres(dot)newbie(at)gmail(dot)com>, "PostgreSQL \\" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Postgres server startup |
| Date: | 2009-04-15 06:48:15 |
| Message-ID: | 49E5832F.7010508@hogranch.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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 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" ??
why isn't it installed as a Windows Service, then any administrator can
start it with....
NET START PGSQL_8.3
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Erik Jones | 2009-04-15 06:56:43 | Re: PITR - warm standby switchover question |
| Previous Message | CM J | 2009-04-15 06:00:41 | Postgres server startup |