Re: Fwd: Re: [HACKERS] MSVC odd TAP test problem - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Fwd: Re: [HACKERS] MSVC odd TAP test problem
Date
Msg-id 459a4ff9-cca9-e307-0444-aaa95bc7e662@2ndQuadrant.com
Whole thread Raw
In response to Fwd: Re: [HACKERS] MSVC odd TAP test problem  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Responses Re: Fwd: Re: [HACKERS] MSVC odd TAP test problem  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers

On 05/10/2017 01:53 AM, Andrew Dunstan wrote:
>
>> Does it make a different if you use for example coup_d_grace =>
>> "QUIT"? Per the docs of IPC::Run SIGTERM is used for kills on Windows.
>
> No idea. I'll try.
>
>
>


This isn't going to work. If you look at the code in IPC/Run.pm you see
that the coup_d_grace signal is only used after it has first sent the
hardcoded SIGTERM. It might be tempting to play with using Sysinternals'
pskill utility, but we can hardly expect buildfarm owners and others to
hack their copies of IPC/Run.pm, so I'm going to go ahead and commit the
changes I proposed.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




pgsql-hackers by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands
Next
From: Michael Paquier
Date:
Subject: Re: Fwd: Re: [HACKERS] MSVC odd TAP test problem