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: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
Date: 2016-01-07 20:04:05
Message-ID: 20160107200405.GA462594@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.

--
Á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 Alvaro Herrera 2016-01-07 20:16:48 Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
Previous Message Alvaro Herrera 2016-01-07 19:36:55 pgsql: pgstat: add WAL receiver status view & SRF

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2016-01-07 20:08:10 Re: checkpointer continuous flushing
Previous Message Josh Berkus 2016-01-07 19:49:28 Re: No Issue Tracker - Say it Ain't So!