Re: win32 service code - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject Re: win32 service code
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB34101AE3E@Herge.rcsinc.local
Whole thread Raw
In response to win32 service code  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: win32 service code
List pgsql-hackers-win32
Bruce Momjian wrote:
> How would this interact with pg_ctl?  I would hate to have to tell
> people to use a different command to start/stop the postmaster
depending
> on what platform they use.  :-(


I had a thought that on win32 pg_ctl start/stop would mean start/stop
the service (always) on win32, and for this to be the only way to start
the postmaster as a service. That neatly solves this problem and we can
boot the boot/kill here.  It is still of course quite possible to invoke
the server directly in special cases.

This also fits nicely with Magnus's #2 scnario, I think.

Merlin

pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: win32 service code
Next
From: Andrew Dunstan
Date:
Subject: Re: win32 service code