pgsql: Report success when Windows kill() emulation signals an exiting - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Report success when Windows kill() emulation signals an exiting
Date
Msg-id E1X9oK4-0001gl-CO@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Report success when Windows kill() emulation signals an exiting process.

This is consistent with the POSIX verdict that kill() shall not report
ESRCH for a zombie process.  Back-patch to 9.0 (all supported versions).
Test code from commit d7cdf6ee36adeac9233678fb8f2a112e6678a770 depends
on it, and log messages about kill() reporting "Invalid argument" will
cease to appear for this not-unexpected condition.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9f519faf8048d6c17644f5a398733960380aaf6e

Modified Files
--------------
src/port/kill.c |   29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: MSVC: Substitute $(top_builddir) in REGRESS_OPTS.
Next
From: Noah Misch
Date:
Subject: pgsql: MSVC: Substitute $(top_builddir) in REGRESS_OPTS.