Re: PQcancel may hang in the recv call

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Peter Juhasz <pjuhasz(at)uhusystems(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PQcancel may hang in the recv call
Date: 2016-05-19 19:53:08
Message-ID: 49589.1463687588@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Thu, May 19, 2016 at 3:32 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I do not recall anyone ever reporting something similar --- and that code
>> has been like that for a long time.

> I'd take Tom's word over mine :)

Well, my memory is often faulty ;-). But I did trawl the PG archives
for a bit, and didn't find anything quite like this. There are complaints
about PQcancel not working if the network is down, but no reports that it
hangs, as far as I can find.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message ktm@rice.edu 2016-05-19 20:06:41 Re: Debugging a backend stuck consuming CPU
Previous Message David G. Johnston 2016-05-19 19:39:29 Re: PQcancel may hang in the recv call