Re: windows service

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: windows service
Date: 2009-05-03 12:53:21
Message-ID: gtk441$r27$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

garry(at)schoolteachers(dot)co(dot)uk wrote on 03.05.2009 13:32:
> Anyone know how to install Postgresql as a windows service from the command
> line.
> I have this as the correct syntax:
> "c:\scholarpack\postgres\bin\pg_ctl.exe" runservice -w -N "P4" -D
> "c:\scholarpack\data"
>
> Where P4 is the name of the service. However, I can not get the sc command to
> accept the above string on the command line. Any help would be much
> appreciated.

If the service is already registered with the name "P4", you can start it using

net start P4

Thomas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2009-05-03 12:58:01 Re: windows service
Previous Message Paolo Saudin 2009-05-03 12:37:46 Rounding problems