Use signals for postmaster death on FreeBSD.
authorThomas Munro <tmunro@postgresql.org>
Wed, 11 Jul 2018 00:47:42 +0000 (12:47 +1200)
committerThomas Munro <tmunro@postgresql.org>
Wed, 11 Jul 2018 01:14:07 +0000 (13:14 +1200)
commitf98b8476cd4a19dfc602ab95642ce08e53877d65
tree8e47d857238724401ab000ab240af1b55ecaf595
parent9f09529952ac41a10e5874cba745c1c24e67ac79
Use signals for postmaster death on FreeBSD.

Use FreeBSD 11.2's new support for detecting parent process death to
make PostmasterIsAlive() very cheap, as was done for Linux in an
earlier commit.

Author: Thomas Munro
Discussion: https://postgr.es/m/7261eb39-0369-f2f4-1bb5-62f3b6083b5e@iki.fi
configure
configure.in
src/backend/storage/ipc/pmsignal.c
src/include/pg_config.h.in
src/include/storage/pmsignal.h