From 4d20df3c78c746a579d437f3d7af86d902b738cb Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 22 Oct 2005 17:09:48 +0000
Subject: [PATCH] Temporarily disable Qingqing's Windows signal processing
 patch, so that WaitForSingleObjectEx is always called by
 CHECK_FOR_INTERRUPTS.  This should be reinstated but the setitimer()
 emulation will have to be redesigned first.

---
 src/include/miscadmin.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 10f75197550..f82fffed77c 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -13,7 +13,7 @@
  * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.181 2005/10/21 21:43:46 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.182 2005/10/22 17:09:48 tgl Exp $
  *
  * NOTES
  *	  some of the information in this file should be moved to other files.
@@ -88,8 +88,7 @@ do { \
 
 #define CHECK_FOR_INTERRUPTS() \
 do { \
-	if (UNBLOCKED_SIGNAL_QUEUE()) \
-		pgwin32_check_queued_signals(); \
+	pgwin32_check_queued_signals(); \
 	if (InterruptPending) \
 		ProcessInterrupts(); \
 } while(0)
-- 
GitLab