Win32 signals cleanup. Patch by Magnus Hagander, with input from Claudio

Neil Conway <neilc@samurai.com>

Commit: f06e79525a57ccbf54ae5d0b673cd904ca978d67
Author: Neil Conway <neilc@samurai.com>
Date: 2004-02-08T22:28:57Z
Releases: 8.0.0
Win32 signals cleanup. Patch by Magnus Hagander, with input from Claudio
Natoli and Bruce Momjian (and some cosmetic fixes from Neil Conway).
Changes:

    - remove duplicate signal definitions from pqsignal.h

    - replace pqkill() with kill() and redefine kill() in Win32

    - use ereport() in place of fprintf() in some error handling in
      pqsignal.c

    - export pg_queue_signal() and make use of it where necessary

    - add a console control handler for Ctrl-C and similar handling
      on Win32

    - do WaitForSingleObjectEx() in CHECK_FOR_INTERRUPTS() on Win32;
      query cancelling should now work on Win32

    - various other fixes and cleanups

Files