From: 王学敏 <wang1352083@163.com>
To: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: Alter system and reload causes bogus complaints about setting changes
Date: Fri, 4 Jul 2014 11:34:27 +0800 (CST)
Message-ID: <6cdf8123.16298.146ff6ffd8a.Coremail.wang1352083@163.com> (raw)
In-Reply-To: <53B51F88.8030801@catalyst.net.nz>
References: <53B51F88.8030801@catalyst.net.nz>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
>"/etc/postgresql/9.4/main/postgresql.conf" contains errors; unaffected
the reason is that :
some config parameter changed need restart the pg server.
so when you reload ,there may be this error info
At 2014-07-03 05:16:56, "Mark Kirkwood" <mark.kirkwood@catalyst.net.nz> wrote:
>Hi all, playing with 9.4 beta:
>
>Consider:
>
>$ cat config.sql
>ALTER SYSTEM SET max_connections = 200;
>ALTER SYSTEM SET shared_buffers = "10GB";
>ALTER SYSTEM SET maintenance_work_mem = "1GB";
>ALTER SYSTEM SET effective_io_concurrency = 10;
>ALTER SYSTEM SET wal_buffers = "32MB";
>ALTER SYSTEM SET checkpoint_segments = 192;
>ALTER SYSTEM SET checkpoint_completion_target = 0.8;
>
>$ psql < config.sql
>
>$ service postgresql restart
>
>$ psql
>ALTER SYSTEM SET checkpoint_segments = 384;
>\q
>
>$ service postgresql reload
>
>$ tail /var/log/postgresql/postgresql-9.4-main.log
>2014-07-03 08:09:40 AST LOG: received SIGHUP, reloading configuration files
>2014-07-03 08:09:40 AST LOG: parameter "max_connections" cannot be
>changed without restarting the server
>2014-07-03 08:09:40 AST LOG: parameter "shared_buffers" cannot be
>changed without restarting the server
>2014-07-03 08:09:40 AST LOG: parameter "checkpoint_segments" changed to
>"1920"
>2014-07-03 08:09:40 AST LOG: configuration file
>"/etc/postgresql/9.4/main/postgresql.conf" contains errors; unaffected
>changes were applied
>
>
>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.
>
>Cheers
>
>Mark
>
>
>--
>Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-bugs
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: wang1352083@163.com, mark.kirkwood@catalyst.net.nz
Subject: Re: Alter system and reload causes bogus complaints about setting changes
In-Reply-To: <6cdf8123.16298.146ff6ffd8a.Coremail.wang1352083@163.com>
References: <53B51F88.8030801@catalyst.net.nz> <6cdf8123.16298.146ff6ffd8a.Coremail.wang1352083@163.com>
* 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