From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Alexander Law <exclusion@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically
Date: Fri, 09 Nov 2018 09:49:47 -0500
Message-ID: <16170.1541774987@sss.pgh.pa.us> (raw)
In-Reply-To: <CABUevEwu-tog8miJp-GiLYJfWQc56+EbX6JQ1hVV_XKCepLx+w@mail.gmail.com>
References: <15492-9b79ce7d1e0687a9@postgresql.org>
<CABUevEySKe_PvpVqqPaGhOmTkmaQtN+D4CsDoFGGFWfbVGgPng@mail.gmail.com>
<20181109012058.GC2652@paquier.xyz>
<CABUevEwu-tog8miJp-GiLYJfWQc56+EbX6JQ1hVV_XKCepLx+w@mail.gmail.com>
Magnus Hagander <magnus@hagander.net> writes:
> 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:
>>> ... why is this problem only showing up now?
> Oh, i didn't realize that wasn't run by the buildfarm. Then yeah, it's
> pretty likely it was simply never run.
IIRC, the reason those tests aren't run by default is that they're
pointless unless executed in a hot-standby configuration. I'm inclined to
think we should remove them from src/test/regress altogether, and instead
put equivalent checks (for any not-already-covered case) into one of the
TAP tests that sets up such a configuration. src/test/recovery is
probably the right home.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, magnus@hagander.net, michael@paquier.xyz, exclusion@gmail.com
Subject: Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically
In-Reply-To: <16170.1541774987@sss.pgh.pa.us>
References: <15492-9b79ce7d1e0687a9@postgresql.org> <CABUevEySKe_PvpVqqPaGhOmTkmaQtN+D4CsDoFGGFWfbVGgPng@mail.gmail.com> <20181109012058.GC2652@paquier.xyz> <CABUevEwu-tog8miJp-GiLYJfWQc56+EbX6JQ1hVV_XKCepLx+w@mail.gmail.com> <16170.1541774987@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox