[BUGS] BUG #14859: Config file parsing is allergic to spaces on last line offile

Поиск
Список
Период
Сортировка
От boatcoder@gmail.com
Тема [BUGS] BUG #14859: Config file parsing is allergic to spaces on last line offile
Дата
Msg-id 20171017141814.8203.27280@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: [BUGS] BUG #14859: Config file parsing is allergic to spaces on last line of file
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: [BUGS] Improper const-evaluation of HAVING with grouping sets and subquery pullup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14859: Config file parsing is allergic to spaces on last line of file