pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: Alter system and reload causes bogus complaints about setting changes
Date: Fri, 04 Jul 2014 10:29:10 +1200
Message-ID: <53B5D936.2060704@catalyst.net.nz> (raw)
In-Reply-To: <CAA4eK1K0LEfQ4xdS+t7gLAVvdw_2gu7XZz_PAVCmDO0L81h28Q@mail.gmail.com>
References: <53B51F88.8030801@catalyst.net.nz>
	<CAA4eK1K0LEfQ4xdS+t7gLAVvdw_2gu7XZz_PAVCmDO0L81h28Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 04/07/14 04:57, Amit Kapila wrote:
> On Thu, Jul 3, 2014 at 2:46 PM, Mark Kirkwood <mark.kirkwood@catalyst.net.nz>

>> 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....
>
>

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



view thread (9+ messages)  latest in thread

Message-ID: <53B5D936.2060704@catalyst.net.nz>
Permalink:  ../53B5D936.2060704@catalyst.net.nz/
Also on:    postgresql.org/message-id/53B5D936.2060704@catalyst.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: mark.kirkwood@catalyst.net.nz, amit.kapila16@gmail.com
  Subject: Re: Alter system and reload causes bogus complaints about setting changes
  In-Reply-To: <53B5D936.2060704@catalyst.net.nz>
  References: <53B51F88.8030801@catalyst.net.nz> <CAA4eK1K0LEfQ4xdS+t7gLAVvdw_2gu7XZz_PAVCmDO0L81h28Q@mail.gmail.com> <53B5D936.2060704@catalyst.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox