Include.d and warnings

From: Andomar <andomar(at)aule(dot)net>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Include.d and warnings
Date: 2015-06-24 09:01:47
Message-ID: 558A71FB.1090501@aule.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We've set up an include directory in postgresql.conf:

include_dir = 'conf.d'

The include directory has a file that changes the value of
"max_connections".

Now when we reload Postgres, an error appears in the logs:

-----
parameter ""max_connections"" cannot be changed without restarting the
server
...
configuration file ""/var/lib/pgsql/9.4/data/postgresql.conf"" contains
errors; unaffected changes were applied
-----

But max_connections did not change before the reload. It is just
overruled in an included configuration file.

Is this behavior "by design", or should Postgres not give an error under
the above circumstances?

Kind Regards,
Andomar

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marc Mamin 2015-06-24 10:55:22 Counting the occurences of a substring within a very large text
Previous Message Albe Laurenz 2015-06-24 07:51:57 Re: