Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits
Date
Msg-id ahkyoUDuAX5-V2QE@paquier.xyz
Whole thread
In response to Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits  (JoongHyuk Shin <sjh910805@gmail.com>)
List pgsql-hackers
On Fri, May 22, 2026 at 05:41:03PM +0900, JoongHyuk Shin wrote:
> This patch addresses the opposite,
> deadlock_timeout does fire, but LockBufferForCleanup loops back and re-arms
> it, so the signal repeats once per second.

Right.  I don't really see why this should be backpatched.  One
argument would be more consistency of this area of the code across all
the stable branches, but the argument is kind of moot as this does not
fix a problem, just improves a bit what we have.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: kdbase
Date:
Subject: [PATCH] Fix typos in pqsignal.c comment
Next
From: Akshay Joshi
Date:
Subject: Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement