Fw: 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: Fw: patch for pg_ctl.c to add windows service start-type
Date: 2010-08-17 12:58:28
Message-ID: 20100817205828.5e0fe8e7.quanzongliang@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Sorry.
I forget to attach the patch file.

Begin forwarded message:

Date: Mon, 16 Aug 2010 19:49:20 +0800
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

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>

--
Quan Zongliang <quanzongliang(at)gmail(dot)com>

Attachment Content-Type Size
pg_ctl.patch application/octet-stream 4.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Hunsaker 2010-08-17 13:55:31 Re: Todays git migration results
Previous Message Stephen Frost 2010-08-17 12:31:24 Re: Progress indication prototype