A better error message for reject option in pg_hba.conf

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема A better error message for reject option in pg_hba.conf
Дата
Msg-id 1215758296.5130.0.camel@laptop.gunduz.org
обсуждение исходный текст
Список pgsql-general
(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


Вложения

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

Предыдущее
От: Klint Gore
Дата:
Сообщение: Top N within groups?
Следующее
От: "Michael Shulman"
Дата:
Сообщение: view row-level locks