Re: [PATCH] better systemd integration - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] better systemd integration
Date
Msg-id 56AD2CCA.1000306@gmx.net
Whole thread Raw
In response to Re: [PATCH] better systemd integration  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] better systemd integration
Next
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] better systemd integration