Re: Postgres: Installing as a service
| От | CM J |
|---|---|
| Тема | Re: Postgres: Installing as a service |
| Дата | |
| Msg-id | d65fd1a40904130105v47da8b3m54c1440e2c57c0e6@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Postgres: Installing as a service (Craig Ringer <craig@postnewspapers.com.au>) |
| Список | pgsql-general |
Hi,
The following cmd can be used for installating postgres as a service:
pg_ctl.exe register -N <servicename> -U <user> -P <password> -D <datadir>
and "pgctl.exe unregister -N <servicename>" can be used to uninstall.
Thanks.
The following cmd can be used for installating postgres as a service:
pg_ctl.exe register -N <servicename> -U <user> -P <password> -D <datadir>
and "pgctl.exe unregister -N <servicename>" can be used to uninstall.
Thanks.
On Mon, Apr 13, 2009 at 12:15 PM, Craig Ringer <craig@postnewspapers.com.au> wrote:
CM J wrote:Search: http://msdn.microsoft.com/
> Hi ,
>
> I have extracted postgres from postgres-noinstaller.zip file. How do
> i install postgres as a service from cmd line ?
You can use the `net' command to start/stop services. I don't recall the
command(s) used to install them, if any, but you'll be able to find the
info on MSDN.No.
> Are there are any binaries
> provided by postgres to install it as a service ?
Why not use the MSI installer's silent mode?
--
Craig Ringer
В списке pgsql-general по дате отправления: