Re: BUG #13594: pg_ctl.exe redirects stderr to Windows Events Log if stderr is redirected to pipe - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #13594: pg_ctl.exe redirects stderr to Windows Events Log if stderr is redirected to pipe
Date
Msg-id CAB7nPqROdjQgDD53qpdeoKbbBmkuYJiHccgLu5WJu8O6UxedKg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #13594: pg_ctl.exe redirects stderr to Windows Events Log if stderr is redirected to pipe  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
On Fri, Jan 8, 2016 at 11:55 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> Andrew Dunstan wrote:
>
>> On 01/08/2016 02:11 AM, Michael Paquier wrote:
>
>> >Looking at the logs, the main difference is that win32security.c is
>> >not compiled in -lpgport for cygwin, and cygwin goes through
>> >src/include/port/win32.h to refer to some routines, so I would think
>> >that the correct fix is to add win32security.c to the list of OBJS for
>> >cygwin. So the attached is correct perhaps? That's a blind fix I don't
>> >have cygwin set up on my machines now.
>
>> I'll test it when I get a moment. Thanks for the patch.
>>
>> I see this service code goes back probably to the first commit of pg_ctl.c,
>> which means it's going to have been either my fault or Bruce's :-)
>
> Per IM conversation with Andrew, I pushed it blind and he'll set up an
> immediate BF run on brolga so we know quickly whether it worked.

And it failed. That's frustrating. I'll try to set up a cygwin
environment and address that.
--
Michael

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #13857: Processes display old Beta2 name in ps
Next
From: "David G. Johnston"
Date:
Subject: Odd "operator does not exist" message