On Wed, Apr 11, 2018 at 10:22 PM, Heikki Linnakangas <hlinn...@iki.fi> wrote: >> On Tue, Apr 10, 2018 at 12:53 PM, Andres Freund <and...@anarazel.de> >> wrote: >>> That person said he'd work on adding an equivalent of linux' >>> prctl(PR_SET_PDEATHSIG) to FreeBSD.
Here is an implementation of Andres's idea for Linux, and also for patched FreeBSD (for later if/when that lands). Do you think this makes sense Heikki? I am planning to add this to the next CF. -- Thomas Munro http://www.enterprisedb.com
0001-Use-signals-for-postmaster-death-detection-on-Linux.patch
Description: Binary data
0002-Use-signals-for-postmaster-death-detection-on-FreeBS.patch
Description: Binary data