From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-hackers@postgresql.org
Cc: Marco Atzeri <marco.atzeri@gmail.com>
Subject: Re: [COMMITTERS] pgsql: Blind attempt at a Cygwin fix
Date: Sat, 9 Jan 2016 12:00:58 -0500
Message-ID: <56913CCA.4080509@dunslane.net> (raw)
In-Reply-To: <2308.1452269855@sss.pgh.pa.us>
References: <20160108153902.GA589413@alvherre.pgsql>
<2308.1452269855@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, michael.paquier@gmail.com, pgsql-hackers@postgresql.org, marco.atzeri@gmail.com
Subject: Re: [COMMITTERS] pgsql: Blind attempt at a Cygwin fix
In-Reply-To: <56913CCA.4080509@dunslane.net>
References: <20160108153902.GA589413@alvherre.pgsql> <2308.1452269855@sss.pgh.pa.us> <56913CCA.4080509@dunslane.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox