Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X2pRh-0002e4-AC for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Jul 2014 22:25:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X2pRg-0001IT-85 for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Jul 2014 22:25:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X2pRf-0001IM-89 for pgsql-bugs@postgresql.org; Thu, 03 Jul 2014 22:25:35 +0000 Received: from [2404:130:0:10::40:2] (helo=mail.catalyst.net.nz) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X2pRZ-0007HE-0Z for pgsql-bugs@postgresql.org; Thu, 03 Jul 2014 22:25:31 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id 9B34C329D4; Fri, 4 Jul 2014 10:25:23 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pGccm3RTfTFp; Fri, 4 Jul 2014 10:25:21 +1200 (NZST) Received: from [IPv6:2404:130:0:1000:b46e:57e9:1b86:94c4] (unknown [IPv6:2404:130:0:1000:b46e:57e9:1b86:94c4]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id C4070328D7; Fri, 4 Jul 2014 10:25:21 +1200 (NZST) Message-ID: <53B5D936.2060704@catalyst.net.nz> Date: Fri, 04 Jul 2014 10:29:10 +1200 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Amit Kapila CC: pgsql-bugs Subject: Re: Alter system and reload causes bogus complaints about setting changes References: <53B51F88.8030801@catalyst.net.nz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2404:130:0:10::40:2 (failed) X-Pg-Spam-Score: -1.1 (-) 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 On 04/07/14 04:57, Amit Kapila wrote: > On Thu, Jul 3, 2014 at 2:46 PM, Mark Kirkwood >> Hmmm - I didn't actually change the settings it is complaining > about...and it is referring to the wrong file too. While this is hardly > serious, it is likely to be immensely confusing for folk who have not been > actively following the new changes for 9.4 (ahem...that could be a lot of > people). It would be good to fix this before we end beta. > > This issue occurs mainly due to duplicate settings in postgresql.conf > and postgresql.auto.conf (file where ALTER SYSTEM writes). I have > explained it in more detail in the below thread: > > http://www.postgresql.org/message-id/CAA4eK1+mUTjc=GXJK3bYtSwV2BmBni=PHEvBqLQkhdUV9cWd1A@mail.gmail.com > > While you are correct about the cause (conflicting entries in postgresql.conf and the auto conf) - the statement 'just eliminate them' is not really acceptable. Why? because a completely default install via 'initdb' has settings uncommented in postgresql.conf, so anyone changing the most likely-to-be changed settings (ahem - shared_buffers for instance) will elicit this error when the change *something else* that only requires a reload. I.e this is not a problem created by the user. Also as I mentioned before, the error complains about the wrong file, so the other statement 'the user can take appropriate action' is rather disingenuous - how can they given the error is itself wrong? I predict this is going to be a huge source of confusion for new users, and at the very least the error message needs to be a) correct and b) actually tell the user the remedy. Regards Mark -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs