Re: Postgresql-11 confusing situtation - Mailing list pgsql-general

From Jakub Olczyk
Subject Re: Postgresql-11 confusing situtation
Date
Msg-id 54d9b17c-b934-a38b-9ee6-f0e3b46e543d@disroot.org
Whole thread Raw
In response to Postgresql-11 confusing situtation  (Domen Šetar <domen.setar@izum.si>)
List pgsql-general
Hi Domen,

On 05/06/2019 14:46, Domen Šetar wrote:
> Systemctl shows that database is dead, but it is actually running.
> 
> Can someone explain this behavioure?

As others pointed out - this is due to bypassing of systemd altogether
in order to start the database proces. If you check the configuration of
the service under /usr/lib/systemd/system/postgresql-10.service you can
inspect further how this work (exactly what type of notification is used).

More on the types of services and the way they notify systemd can be
found here:
https://www.freedesktop.org/software/systemd/man/systemd.service.html

Cheers!
Jakub



pgsql-general by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: Requirement PA-DSS 1.1.4
Next
From: "Alex V."
Date:
Subject: Re: Table partition with primary key in 11.3