]> 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:48 +0000 (00:36 -0400)
commitc76a98e22eeb4629290808349fe4bc33e665ad50
treeacc9d88b10bcfdaa1745b63081ff876c78e885dc
parent48aa0032c454a73ca70f192c122508eb4ee38e28
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