pgsql: Report success when Windows kill() emulation signals an exiting

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Report success when Windows kill() emulation signals an exiting
Date: 2014-07-23 04:38:36
Message-ID: E1X9oK4-0001gr-Cl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/748da01d392f120c02460838a015cdd8193ed397

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

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2014-07-23 13:53:22 pgsql: Reformat commit 6b2a1445ec8a631060c4cbff3f172bf31d3379b9
Previous Message Tom Lane 2014-07-23 00:26:27 Re: [COMMITTERS] pgsql: Diagnose incompatible OpenLDAP versions during build and test.