Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically
Date
Msg-id CABUevEwu-tog8miJp-GiLYJfWQc56+EbX6JQ1hVV_XKCepLx+w@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns truesporadically  (Michael Paquier <michael@paquier.xyz>)
Responses Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically
List pgsql-bugs
On Fri, Nov 9, 2018 at 2:21 AM Michael Paquier <michael@paquier.xyz> wrote:
On Thu, Nov 08, 2018 at 11:31:41AM +0100, Magnus Hagander wrote:
> The *comment* talks about suicide, which indicates that maybe the original
> intention was to use pg_terminate_backend()?  But it has also been i nthere
> since 2009, so why is this problem only showing up now?

Perhaps because the buildfarm does not actually test them on Windows,
because those tests are not run in MSVC scripts even if vcregress.pl is
run manually, and because doing a [install]check-world from the top of
the tree does not trigger them either?  We could get those running
within a TAP test automatically I think.

Oh, i didn't realize that wasn't run by the buildfarm. Then yeah, it's pretty likely it was simply never run.

-- 

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL error (Segmentation Fault with message "SSL SYSCALL error: EOF detected")
Next
From: Magnus Hagander
Date:
Subject: Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically