Re: How to detect if Postgres needs a restart when configuration changes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Strahinja Kustudić <strahinjak(at)nordeus(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to detect if Postgres needs a restart when configuration changes
Date: 2014-10-01 04:55:03
Message-ID: 1412139303.13055.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2014-10-01 at 01:51 +0200, Strahinja Kustudić wrote:
> I am automating Postgres deployment on Linux and I need to check if
> Postgres needs to be restarted when a configuration parameter that
> requires a restart changes, e.g. when you change wal_level. Is there a
> way to detect a parameter which requires a restart was changed?

As you can gather, there isn't really a straightforward way. But it
would be a great feature addition.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2014-10-01 04:56:32 Re: How to detect if Postgres needs a restart when configuration changes
Previous Message Jason Mathis 2014-10-01 00:51:18 Re: How to detect if Postgres needs a restart when configuration changes