Re: Documentation/Behavior: Systemd Type=notify failure with pg_ctl on Debian 12

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: virtualtengfei(at)163(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Documentation/Behavior: Systemd Type=notify failure with pg_ctl on Debian 12
Date: 2026-02-25 01:10:56
Message-ID: CAKFQuwbNUP0WU+N_s9P8xJi0uiiosMOHVk43Xar_FgbONRUYgg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

These forms submit plain text - submitting markdown makes them more
difficult to review. In particular the link format doesn't play well with
my mail reader's link auto-detection.

On Fri, Jan 9, 2026 at 1:10 AM PG Doc comments form <noreply(at)postgresql(dot)org>
wrote:

> The documentation regarding Systemd integration (specifically when using
> `pg_ctl` combined with `Type=notify`) might be incomplete.
>

Such documentation is nonexistent, not incomplete. The provided unit file
for systemd doesn't use pg_ctl, I suppose presumably for this or a similar
reason. It uses the postgres binary directly.

Such, I'm not seeing a bug here (I suppose a comment pointing out that/why
pg_ctl is not used might be in order). I'm not opposed to possibly adding
more detail or alternatives to this part of the documentation - though the
number of people doing their own unit files is few compared to those using
ones bundled in a package - but the lack or responders seems to suggest
such effort is not high on anyone's list.

David J.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Greg Sabino Mullane 2026-02-25 18:23:19 Re: Documentation/Behavior: Systemd Type=notify failure with pg_ctl on Debian 12
Previous Message Daniel Gustafsson 2026-02-20 14:14:12 Re: Typo