Re: [COMMITTERS] pgsql: Blind attempt at a Cygwin fix

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [COMMITTERS] pgsql: Blind attempt at a Cygwin fix
Дата
Msg-id 56913CCA.4080509@dunslane.net
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Blind attempt at a Cygwin fix  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [COMMITTERS] pgsql: Blind attempt at a Cygwin fix  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers

On 01/08/2016 11:17 AM, Tom Lane wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>> Alvaro Herrera wrote:
>>> Obviously this wasn't the best idea ever.  Andrew suggests on IM to
>>> revert this on Cygwin to just do the "isatty" check as originally.
>> Here's a proposed patch.  Thoughts?
> Ugly, but it will hold the fort until someone can debug the service
> code for Cygwin.
>
>             


I downloaded the official Cygwin packages into a Cygwin instance and 
checked how they do things. As I rather expected, they do not use pg_ctl 
at all to install or run as a service. Rather, they use the standard 
Cygwin service utility cygrunsrv. This is all managed via a SYSV style 
init script.

So if anything I'd be inclined to disable all the service-related code 
in pg_ctl for Cygwin, and treat it just as we treat Unix.

cheers

andrew



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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: checkpointer continuous flushing
Следующее
От: Artur Zakirov
Дата:
Сообщение: Re: [PROPOSAL] Improvements of Hunspell dictionaries support