From: boatcoder@gmail.com
To: pgsql-bugs@postgresql.org
Cc: boatcoder@gmail.com
Subject: BUG #14859: Config file parsing is allergic to spaces on last line of file
Date: Tue, 17 Oct 2017 14:18:14 +0000
Message-ID: <20171017141814.8203.27280@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14859
Logged by: Mark Jones
Email address: boatcoder@gmail.com
PostgreSQL version: 9.5.9
Operating system: Ubuntu
Description:
Edit your pg_hba.conf file, add a space (without a new line) at the end of
the file.
Attempt to start postgres. It will fail with messages like this.
2017-10-17 13:20:22 UTC [2471-1] LOG: invalid connection type "ost"
2017-10-17 13:20:22 UTC [2471-2] CONTEXT: line 103 of configuration file
"/etc/postgresql/9.5/main/pg_hba.conf"
2017-10-17 13:20:22 UTC [2471-3] FATAL: could not load pg_hba.conf
Look at config file file, scratch head because space is hard to
detect.....
Finally figure it out. Wonder how that space got in there....
--
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: boatcoder@gmail.com
Subject: Re: BUG #14859: Config file parsing is allergic to spaces on last line of file
In-Reply-To: <20171017141814.8203.27280@wrigleys.postgresql.org>
* 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