Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9ZOZ-0003kg-5N for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Jun 2015 13:46:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z9ZOY-00010K-LC for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Jun 2015 13:46:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z9ZNk-0000KT-47 for pgsql-bugs@postgresql.org; Mon, 29 Jun 2015 13:45:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z9ZNh-00062E-Lj for pgsql-bugs@postgresql.org; Mon, 29 Jun 2015 13:45:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t5TDjpZx026122; Mon, 29 Jun 2015 09:45:51 -0400 From: Tom Lane To: andomar@aule.net cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13471: Reload with include_dir results in incorrect "contains errors" message In-reply-to: <20150626102541.3881.69577@wrigleys.postgresql.org> References: <20150626102541.3881.69577@wrigleys.postgresql.org> Comments: In-reply-to andomar@aule.net message dated "Fri, 26 Jun 2015 10:25:41 -0000" Date: Mon, 29 Jun 2015 09:45:51 -0400 Message-ID: <26121.1435585551@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org andomar@aule.net writes: > 1. Create a new Postgres installation with "pg_ctl init" > 2. In postgresql.conf, remove the comment before "include_dir = 'conf.d'" > 3. Create a file "conf.d/extra.conf" containing "max_connections = 123" > 4. Start Postgres with "pg_ctl start" > 5. Reload Postgres with "pg_ctl reload" > 6. Read the log file in pg_log; it says: > received SIGHUP, reloading configuration files > parameter "max_connections" cannot be changed without restarting the > server > configuration file "/home/wessel/test/postgresql.conf" contains errors; > unaffected changes were applied > But max_connections was not changed after restarting the server. These > messages are incorrect. Although I was correct in remembering that this had been fixed in 9.4, it turns out it got broken again in 9.4.1 (by me :-(). I've committed a fix that will appear in 9.4.5. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs