Re: [HACKERS] patch for pg_ctl.c to add windows service start-type

2010-08-16 Thread Dave Page
On Mon, Aug 16, 2010 at 12:49 PM, Quan Zongliang wrote: > 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-

[HACKERS] patch for pg_ctl.c to add windows service start-type

2010-08-16 Thread Quan Zongliang
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 SERVIC