Here is a patch that implements setitimer() on win32. With this patch

Bruce Momjian <bruce@momjian.us>

Commit: af3b182a574e4b349dcf71279769ad18818b13b9
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-02-18T16:25:12Z
Releases: 8.0.0
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