Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Alexander Law <exclusion(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically
Date: 2018-11-09 14:43:39
Message-ID: CABUevEwu-tog8miJp-GiLYJfWQc56+EbX6JQ1hVV_XKCepLx+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Nov 9, 2018 at 2:21 AM Michael Paquier <michael(at)paquier(dot)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.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2018-11-09 14:48:49 Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically
Previous Message Tom Lane 2018-11-09 14:25:23 Re: PostgreSQL error (Segmentation Fault with message "SSL SYSCALL error: EOF detected")