Re: kevent latch paths don't handle postmaster death well
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Heikki Linnakangas <hlinnaka@iki.fi>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-10-14T22:59:42Z
Lists: pgsql-hackers
Hi, On 2020-10-15 11:10:28 +1300, Thomas Munro wrote: > I don't think that's a problem -- the kernel will report the event to > each interested kqueue object. The attached fixes the problem for me. Will it do so even if the kqueue is created after postmaster death? - Andres
Commits
-
Handle EACCES errors from kevent() better.
- 47522ee00ddb 13.1 landed
- 70516a178ad0 14.0 landed
-
Make WL_POSTMASTER_DEATH level-triggered on kqueue builds.
- e0950135ae5d 13.1 landed
- b94109ce375b 14.0 landed