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

JoongHyuk Shin <sjh910805@gmail.com>

From: JoongHyuk Shin <sjh910805@gmail.com>
To: Xuneng Zhou <xunengzhou@gmail.com>
Cc: Ilmar Yunusov <tanswis42@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2026-06-26T04:52:08Z
Lists: pgsql-hackers
Hi Xuneng,

Thanks for tying the threads together.
When Álvaro raised the possible connection back in May,
I concluded these were independent fixes for different problems,
even though both already touch ResolveRecoveryConflictWithBufferPin().

That still holds, but with the deadlock-detector fix now ready for commit
and heading to the back branches,
the two reworkings of that function will collide.
So I agree it should go in first and this patch should rebase on top.

--
JH Shin

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix race in ReplicationSlotRelease() for ephemeral slots

  2. Avoid leaking system path from pg_available_extensions