From f50bdfc0beea8da43265eb279d3bc1e2a8c86b8b Mon Sep 17 00:00:00 2001
From: Vitaly Davydov <v.davydov@postgrespro.ru>
Date: Mon, 19 Jan 2026 14:30:36 +0300
Subject: [PATCH] Fix deadlock detector activation in startup process

---
 src/backend/utils/misc/timeout.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/backend/utils/misc/timeout.c b/src/backend/utils/misc/timeout.c
index ddba5dc607c..3ef819949de 100644
--- a/src/backend/utils/misc/timeout.c
+++ b/src/backend/utils/misc/timeout.c
@@ -313,8 +313,10 @@ schedule_alarm(TimestampTz now)
 		 * to trigger the interrupt is likely to be a bit later than
 		 * signal_due_at.  That's fine, for the same reasons described above.
 		 */
+		/*
 		if (signal_pending && nearest_timeout >= signal_due_at)
 			return;
+		*/
 
 		/*
 		 * As with calling enable_alarm(), we must set signal_pending *before*
-- 
2.43.0

