pgsql: Use signals for postmaster death on FreeBSD.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use signals for postmaster death on FreeBSD.
Date: 2018-07-11 01:14:52
Message-ID: E1fd3iW-0002W7-21@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2018-07-11 04:14:04 Re: Tips on committing
Previous Message Michael Paquier 2018-07-11 00:13:53 pgsql: Block replication slot advance for these not yet reserving WAL