Skip site navigation (1) Skip section navigation (2)

Re: win32 service code

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: win32 service code
Date: 2004-05-27 20:56:41
Message-ID: 40B65609.4080401@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
Merlin Moncure wrote:

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


No, we need to be able to run *not* under the service manager, and 
pg_ctl needs to be able to control that, IMNSHO.

Users might not have admin privs (e.g. in a classroom setting).

cheers

andrew

In response to

pgsql-hackers-win32 by date

Next:From: Merlin MoncureDate: 2004-05-27 21:03:16
Subject: Re: win32 service code
Previous:From: Merlin MoncureDate: 2004-05-27 20:31:57
Subject: Re: win32 service code

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group