Here is a patch that implements setitimer() on win32. With this patch
Bruce Momjian <bruce@momjian.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/pqsignal.c | modified | +1 −3 |
| src/backend/port/win32/Makefile | modified | +2 −2 |
| src/backend/port/win32/timer.c | added | +65 −0 |
| src/backend/storage/lmgr/proc.c | modified | +1 −14 |
| src/include/port/win32.h | modified | +10 −1 |