pgsql: Add support for systemd service notifications

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add support for systemd service notifications
Date: 2016-02-03 02:31:25
Message-ID: E1aQnE5-0003Cj-CN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add support for systemd service notifications

Insert sd_notify() calls at server start and stop for integration with
systemd. This allows the use of systemd service units of type "notify",
which greatly simplifies the systemd configuration.

Reviewed-by: Pavel Stěhule <pavel(dot)stehule(at)gmail(dot)com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7d17e683fcc28a1b371c7dd02935728cd2cbf9bf

Modified Files
--------------
configure | 49 +++++++++++++++++++++++++++++++++++++
configure.in | 13 ++++++++++
doc/src/sgml/installation.sgml | 16 ++++++++++++
doc/src/sgml/runtime.sgml | 35 ++++++++++++++++++++++++++
src/Makefile.global.in | 1 +
src/backend/Makefile | 4 +++
src/backend/postmaster/postmaster.c | 26 ++++++++++++++++++++
src/include/pg_config.h.in | 3 +++
8 files changed, 147 insertions(+)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-02-03 04:26:09 Re: pgsql: Improve error reporting when location specified by postgres -D d
Previous Message Tom Lane 2016-02-02 20:26:51 pgsql: Remove printQueryOpt.quote field.