Re: Pending query cancel defeats SIGQUIT - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Pending query cancel defeats SIGQUIT
Date
Msg-id 20130911024505.GA236832@tornado.leadboat.com
Whole thread Raw
In response to Re: Pending query cancel defeats SIGQUIT  (David Johnston <polobo@yahoo.com>)
Responses Re: Pending query cancel defeats SIGQUIT
List 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



pgsql-hackers by date:

Previous
From: David Johnston
Date:
Subject: Re: Pending query cancel defeats SIGQUIT
Next
From: Noah Misch
Date:
Subject: Re: Valgrind Memcheck support