Re: Timeout parameters - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Timeout parameters
Date
Msg-id CA+TgmoYV2B5+fe3oxRrR4hLgZDyPeBCLSyMwCdfvf_jqsc296A@mail.gmail.com
Whole thread Raw
In response to Re: Timeout parameters  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: Timeout parameters
List pgsql-hackers
On Wed, Mar 13, 2019 at 2:05 AM Fabien COELHO <coelho@cri.ensmp.fr> wrote:
> Also, I do not see the downside of sending a cancel query before severing
> the connection. If it is not processed, too bad, but if it is then it is
> for the better.

If the network connection is dead, which is the situation the patch
intends to detect, then PQcancel() isn't going to work, but it might
still hang for a period of time or forever.  That seems like a pretty
major downside.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: ToDo: show size of partitioned table
Next
From: Tom Lane
Date:
Subject: Re: hyrax vs. RelationBuildPartitionDesc