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

From: Quan Zongliang <quanzongliang(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: patch for pg_ctl.c to add windows service start-type
Date: 2010-08-16 11:49:20
Message-ID: 20100816194920.227cd436.quanzongliang@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-08-16 11:57:39 Re: Cost of AtEOXact_Buffers in --enable-cassert
Previous Message Pavel Stehule 2010-08-16 11:32:04 Re: patch: psql variables tabcomplete