Re: Windows installation service - Mailing list pgsql-hackers

From Dave Page
Subject Re: Windows installation service
Date
Msg-id 937d27e10904100816s6e397f8ftcad1c0f41f2c5b60@mail.gmail.com
Whole thread Raw
In response to Windows installation service  ("Dann Corbit" <DCorbit@connx.com>)
Responses Re: Windows installation service  ("Dann Corbit" <DCorbit@connx.com>)
List pgsql-hackers
On Mon, Apr 6, 2009 at 9:32 PM, Dann Corbit <DCorbit@connx.com> wrote:
> The Windows installation service uses pg_ctl to perform the network
> start-up operation.
> This program starts up the postmaster and exits.
> The net effect of performing the operation in this manner is that the
> Windows service manager sees the service as "not running" a few minutes
> after the startup is complete.  It also prevents proper pause and
> restart of the service.

Per our offlist conversation, this is not how it works.

> As a suggestion:
> Instead of installing pg_ctl as the service, start up postgres as the
> service.  This is how we did our Windows port.  If the idea is appealing
> to the PostgreSQL group, we can send our service code modifications for
> review as a possible alternative to the current method.
>
> Another approach that could be equally helpful (along the same lines) is
> to leave pg_ctl.exe in memory and allow it to control the program.

Which is what does happen.


--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Documentation Update: WAL & Checkpoints
Next
From: Bruce Momjian
Date:
Subject: Re: FW: Multiple character encodings within a single database/table?