Обсуждение: A better error message for reject option in pg_hba.conf

Поиск
Список
Период
Сортировка

A better error message for reject option in pg_hba.conf

От
Devrim GÜNDÜZ
Дата:
(This is a very minor thing, but still...)

Suppose we have this line in pg_hba.conf:

local all all reject

Now:

$ psql template1 -U postgres

psql: FATAL: no pg_hba.conf entry for host "[local]", user "postgres",
database "template1", SSL off

Actually there *is* an entry for local, user postgres and database
template1 -- but it is a reject. Should we improve this message and
return an error actually?

...or am I overlooking something?

Regards,
--
Devrim GÜNDÜZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org


Вложения