]> granicus.if.org Git - postgresql/commit
Report success when Windows kill() emulation signals an exiting process.
authorNoah Misch <noah@leadboat.com>
Wed, 23 Jul 2014 04:35:13 +0000 (00:35 -0400)
committerNoah Misch <noah@leadboat.com>
Wed, 23 Jul 2014 04:36:43 +0000 (00:36 -0400)
commit9f519faf8048d6c17644f5a398733960380aaf6e
tree9d352075751476a62b6dfcc8224dfff5838dca66
parentf12976ab8393463b2b0815e7412dba26702dd0a3
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.
src/port/kill.c