Re: Postgresql-11 confusing situtation

From: Jakub Olczyk <jwo(at)disroot(dot)org>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgresql-11 confusing situtation
Date: 2019-06-06 08:37:45
Message-ID: 54d9b17c-b934-a38b-9ee6-f0e3b46e543d@disroot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex V. 2019-06-06 10:30:00 Re: Table partition with primary key in 11.3
Previous Message Karsten Hilbert 2019-06-06 08:14:19 Re: Requirement PA-DSS 1.1.4