Re: Pending query cancel defeats SIGQUIT

From: Noah Misch <noah(at)leadboat(dot)com>
To: David Johnston <polobo(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Pending query cancel defeats SIGQUIT
Date: 2013-09-11 02:45:05
Message-ID: 20130911024505.GA236832@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 10, 2013 at 07:13:16PM -0700, David Johnston wrote:
> Noah Misch-2 wrote
> > The errfinish() pertaining to that WARNING issues CHECK_FOR_INTERRUPTS(),
> > and
> > the query cancel pending since before the SIGQUIT arrived then takes
> > effect.
> > This is less bad on 9.4, because the postmaster will SIGKILL the backend
> > after
> > 5s. On older releases, the backend persists indefinitely.
>
> 9.4 == head or is this is typo?

9.4 == head

> Your feelings on how far to back-patch?

All supported versions. The current behavior is a bug every way I look at it.

--
Noah Misch
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2013-09-11 03:32:03 Re: Valgrind Memcheck support
Previous Message David Johnston 2013-09-11 02:13:16 Re: Pending query cancel defeats SIGQUIT