patch for pg_ctl.c to add windows service start-type - Mailing list pgsql-hackers

From Quan Zongliang
Subject patch for pg_ctl.c to add windows service start-type
Date
Msg-id 20100816194920.227cd436.quanzongliang@gmail.com
Whole thread Raw
Responses Re: patch for pg_ctl.c to add windows service start-type
List pgsql-hackers
Hi, all

I modified pg_ctl.c to add a new option for Windows service start-type.
new option is -S [auto|demand]

For example, the command can be used under Windows:
pg_ctl register -N "s-name" -S auto
or
pg_ctl register -N "s-name" -S demand

The created service will be SERVICE_AUTO_START or SERVICE_DEMAND_START respectively.

regards

-- 
Quan Zongliang <quanzongliang@gmail.com>


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: patch: psql variables tabcomplete
Next
From: Robert Haas
Date:
Subject: Re: Cost of AtEOXact_Buffers in --enable-cassert