Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1f7fb0

Browse files
committed
Fix error in Windows version of CHECK_FOR_INTERRUPTS macro.
This prevented statement_timeout from working.Magnus Hagander
1 parent083258e commita1f7fb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/miscadmin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
1414
* Portions Copyright (c) 1994, Regents of the University of California
1515
*
16-
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.167 2004/08/29 05:06:55 momjian Exp $
16+
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.168 2004/09/06 23:55:34 tgl Exp $
1717
*
1818
* NOTES
1919
* some of the information in this file should be moved to other files.
@@ -88,7 +88,7 @@ do { \
8888

8989
#defineCHECK_FOR_INTERRUPTS() \
9090
do { \
91-
if (WaitForSingleObject(pgwin32_signal_event,0) == WAIT_OBJECT_0) \
91+
if (WaitForSingleObjectEx(pgwin32_signal_event,0,TRUE) == WAIT_OBJECT_0) \
9292
pgwin32_dispatch_queued_signals(); \
9393
if (InterruptPending) \
9494
ProcessInterrupts(); \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp