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

Поиск
Список
Период
Сортировка
От Quan Zongliang
Тема Fw: patch for pg_ctl.c to add windows service start-type
Дата
Msg-id 20100817205828.5e0fe8e7.quanzongliang@gmail.com
обсуждение исходный текст
Ответы Re: Fw: patch for pg_ctl.c to add windows service start-type  (Magnus Hagander <magnus@hagander.net>)
Список 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@gmail.com>
To: pgsql-hackers@postgresql.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@gmail.com>


--
Quan Zongliang <quanzongliang@gmail.com>

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Progress indication prototype
Следующее
От: Alex Hunsaker
Дата:
Сообщение: Re: Todays git migration results