Re: Include.d and warnings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andomar <andomar(at)aule(dot)net>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Include.d and warnings
Date: 2015-06-24 14:43:29
Message-ID: 814.1435157009@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andomar <andomar(at)aule(dot)net> writes:
> 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.

This is fixed in 9.4 and up. Since it's just cosmetic, we did not
back-patch the change.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Holger.Friedrich-Fa-Trivadis 2015-06-24 14:55:52 Re: mirroring a server and/or hot standby
Previous Message John Bleichert 2015-06-24 14:20:32 Re: mirroring a server and/or hot standby