Re: Queries that should be canceled will get stuck on secure_write function

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: 蔡梦娟(玊于) <mengjuan.cmj@alibaba-inc.com>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>, Andres Freund <andres@anarazel.de>
Date: 2021-08-23T18:45:19Z
Lists: pgsql-hackers
On Mon, Aug 23, 2021 at 11:26 AM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> Aren't we talking about query cancellations that occur in response to a
> standby delay limit?  Those aren't in response to user action.

Oh, you're right. But I guess a similar problem could also occur in
response to pg_terminate_backend(), no?

-- 
Robert Haas
EDB: http://www.enterprisedb.com