Thread: pgsql-server: Fix Windows emulation of kill(pid, 0).

pgsql-server: Fix Windows emulation of kill(pid, 0).

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix Windows emulation of kill(pid, 0).  This will now succeed, but only
if the target PID is a PG postmaster or backend --- for our purposes that
is actually better than the Unix behavior.  Per Dave Page and Andrew Dunstan.

Modified Files:
--------------
    pgsql-server/src/backend/port/win32:
        signal.c (r1.4 -> r1.5)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/port/win32/signal.c.diff?r1=1.4&r2=1.5)
    pgsql-server/src/port:
        kill.c (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/port/kill.c.diff?r1=1.2&r2=1.3)