Re: [PATCH] better systemd integration

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] better systemd integration
Date: 2016-01-30 21:36:10
Message-ID: 56AD2CCA.1000306@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/28/16 10:08 AM, Alvaro Herrera wrote:
> I wonder if instead of HAVE_SYSTEMD at each callsite we shouldn't
> instead have a pg_sd_notify() call that's a no-op when not systemd.

We do this for other optional features as well, and I think it keeps the
code clearest, especially if the ifdef'ed sections are short.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2016-01-30 21:38:09 Re: [PATCH] better systemd integration
Previous Message Peter Eisentraut 2016-01-30 21:34:02 Re: [PATCH] better systemd integration