pgsql: Use signals for postmaster death on FreeBSD. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Use signals for postmaster death on FreeBSD.
Date
Msg-id E1fd3iW-0002W7-21@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f98b8476cd4a19dfc602ab95642ce08e53877d65

Modified Files
--------------
configure                          | 2 +-
configure.in                       | 2 +-
src/backend/storage/ipc/pmsignal.c | 3 +++
src/include/pg_config.h.in         | 3 +++
src/include/storage/pmsignal.h     | 7 ++++++-
5 files changed, 14 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Block replication slot advance for these not yet reserving WAL
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Fix wrong file path in header comment