Re: Include.d and warnings - Mailing list pgsql-general

From Tom Lane
Subject Re: Include.d and warnings
Date
Msg-id 814.1435157009@sss.pgh.pa.us
Whole thread Raw
In response to Include.d and warnings  (Andomar <andomar@aule.net>)
Responses Re: Include.d and warnings  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Include.d and warnings  (Andomar <andomar@aule.net>)
List pgsql-general
Andomar <andomar@aule.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


pgsql-general by date:

Previous
From: John Bleichert
Date:
Subject: Re: mirroring a server and/or hot standby
Next
From:
Date:
Subject: Re: mirroring a server and/or hot standby