windows service

From: garry(at)schoolteachers(dot)co(dot)uk
To: pgsql-general(at)postgresql(dot)org
Subject: windows service
Date: 2009-05-03 11:32:46
Message-ID: 20090503123246.e0sd66e8e80080wc@pop.freeola.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.
Regards
Garry

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2009-05-03 11:40:35 Re: Re: Mapping output from a SEQUENCE into something non-repeating/colliding but random-looking?
Previous Message Craig Ringer 2009-05-03 07:00:31 Re: Re: Mapping output from a SEQUENCE into something non-repeating/colliding but random-looking?