Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
Date: 2016-01-07 20:16:48
Message-ID: 20160107201648.GA464681@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Alvaro Herrera wrote:
> Alvaro Herrera wrote:
> > Windows: Make pg_ctl reliably detect service status
> >
> > pg_ctl is using isatty() to verify whether the process is running in a
> > terminal, and if not it sends its output to Windows' Event Log ... which
> > does the wrong thing when the output has been redirected to a pipe, as
> > reported in bug #13592.
>
> This broke the mingw port. Looking.

A bit of grepping appears to say that I ought to patch configure.in to
add
AC_LIBOBJ(win32security)
around line 1580 and rerun autoconf, but this seems completely at odds
with the documented use of AC_LIBOBJS. Is this black magic?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-01-07 20:22:44 pgsql: Use plain mkdir() not pg_mkdir_p() to create subdirectories of P
Previous Message Alvaro Herrera 2016-01-07 20:04:05 Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-01-07 20:17:32 Re: checkpointer continuous flushing
Previous Message Fabien COELHO 2016-01-07 20:08:10 Re: checkpointer continuous flushing