Silent failure with invalid hba_file setting

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Silent failure with invalid hba_file setting
Дата
Msg-id CAA-aLv7ZvQDZqSjk4OpBcoxpXYEVrPNxMiFpHaB+HEMcdidFLQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Silent failure with invalid hba_file setting
Список pgsql-hackers
Hi,

I noticed that if the hba_file setting in the config is uncommented
and set to a directory instead of the full path to the file, no error
occurs when the service starts.

For example:

hba_file = '/home/thom/Development/data'

The problem with this is you cannot get into the database as it acts
as if it did find the hba file but found it empty.

Shouldn't a check be in place to ensure that the parameter resolves to
a file rather than anything else?  And even if it does find a file,
but it's empty, shouldn't it also produce a warning of some kind?

-- 
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: desmodemone
Дата:
Сообщение: Re: BUG or strange behaviour of update on primary key
Следующее
От: Tom Lane
Дата:
Сообщение: Re: (patch) regression diffs on collate.linux.utf8 test