Hello! 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 <<win32_setitimer.patch>> <<timer.c>>
win32_setitimer.patch
Description: win32_setitimer.patch
timer.c
Description: timer.c
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend