pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13471: Reload with include_dir results in incorrect "contains errors" message
2+ messages / 2 participants
[nested] [flat]

* BUG #13471: Reload with include_dir results in incorrect "contains errors" message
@ 2015-06-26 10:25  andomar@aule.net
  0 siblings, 1 reply; 2+ messages in thread

From: andomar@aule.net @ 2015-06-26 10:25 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13471
Logged by:          Andomar
Email address:      andomar@aule.net
PostgreSQL version: 9.4.4
Operating system:   CentOS 6.5
Description:        


Steps to reproduce problem:
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.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #13471: Reload with include_dir results in incorrect "contains errors" message
@ 2015-06-29 13:45  Tom Lane <tgl@sss.pgh.pa.us>
  parent: andomar@aule.net
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2015-06-29 13:45 UTC (permalink / raw)
  To: andomar@aule.net; +Cc: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-06-29 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-06-26 10:25 BUG #13471: Reload with include_dir results in incorrect "contains errors" message andomar@aule.net
2015-06-29 13:45 ` Tom Lane <tgl@sss.pgh.pa.us>

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