| From: | Dave Page <dpage(at)pgadmin(dot)org> |
|---|---|
| To: | Quan Zongliang <quanzongliang(at)gmail(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: patch for pg_ctl.c to add windows service start-type |
| Date: | 2010-08-16 12:22:47 |
| Message-ID: | AANLkTimh5fatOGpgjRqZ-0ZSqYBy=vtcpHpmggO38OXA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Mon, Aug 16, 2010 at 12:49 PM, Quan Zongliang
<quanzongliang(at)gmail(dot)com> 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-name" -S demand
>
> The created service will be SERVICE_AUTO_START or SERVICE_DEMAND_START respectively.
Hi,
Please post the patch to the mailing list, and add it to the next
commitfest: https://commitfest.postgresql.org/action/commitfest_view?id=7
Thanks!
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2010-08-16 12:50:24 | Re: Synchronous replication |
| Previous Message | Robert Haas | 2010-08-16 11:57:39 | Re: Cost of AtEOXact_Buffers in --enable-cassert |