diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-02-18 16:25:12 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-02-18 16:25:12 +0000 |
commit | af3b182a574e4b349dcf71279769ad18818b13b9 (patch) | |
tree | 4867fe86fc8d2866669b03c1f761fd02bb845f65 /src/backend/libpq/pqsignal.c | |
parent | f8257734e4add3204f4d6d38f3edea0c827b245f (diff) | |
download | postgresql-af3b182a574e4b349dcf71279769ad18818b13b9.tar.gz |
Here is a patch that implements setitimer() on win32. With this patch
applied, deadlock detection and statement_timeout now works.
The file timer.c goes into src/backend/port/win32/.
The patch also removes two lines of "printf debugging" accidentally left
in pqsignal.h, in the console control handler.
Magnus Hagander
Diffstat (limited to 'src/backend/libpq/pqsignal.c')
-rw-r--r-- | src/backend/libpq/pqsignal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/libpq/pqsignal.c b/src/backend/libpq/pqsignal.c index 7c4e67ffcc..34e5883797 100644 --- a/src/backend/libpq/pqsignal.c +++ b/src/backend/libpq/pqsignal.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/libpq/pqsignal.c,v 1.31 2004/02/08 22:28:56 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/pqsignal.c,v 1.32 2004/02/18 16:25:12 momjian Exp $ * * NOTES * This shouldn't be in libpq, but the monitor and some other @@ -429,8 +429,6 @@ pg_signal_thread(LPVOID param) /* Console control handler will execute on a thread created by the OS at the time of invocation */ static BOOL WINAPI pg_console_handler(DWORD dwCtrlType) { - printf("Console handler being called!\n"); - fflush(stdout); if (dwCtrlType == CTRL_C_EVENT || dwCtrlType == CTRL_BREAK_EVENT || dwCtrlType == CTRL_CLOSE_EVENT || |