Adam Ruth wrote:
One option is sc.exe command.
sc create postgresql binPath=
"^"c:\scholarpack\postgres\bin\pg_ctl.exe^" runservice -w -N ^"P4^" -D
^"c:\scholarpack\data^"" -start auto
except, on a SC CREATE, you'd need to specify a lot more than just the
binpath. I'd suspect at least obj= username password= password
Far better to use the pg_ctl register command as Dave Page said...
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general