Better auth errors from libpq

Поиск
Список
Период
Сортировка
От David Fetter
Тема Better auth errors from libpq
Дата
Msg-id 20080912024449.GE9856@fetter.org
обсуждение исходный текст
Ответы Re: Better auth errors from libpq
Список pgsql-hackers
Folks,

Far and away the most common question we get in IRC includes phrases
like:

    psql: FATAL:  Ident authentication failed for user "root"

This isn't exactly informative to newbies, so I'm proposing a patch
like that attached for such failures.  Instead of seeing that
mysterious message, they'd get something like this:

    psql: FATAL:  Ident authentication failed for user "root"
    HINT:  Is pg_hba.conf set properly on the server?

Also good would be some way to make man pages and whatever Windows
uses both for pg_hba.conf and for postgresql.conf.  Any hints as to
how to start this would be most welcome :)

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Вложения

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

Предыдущее
От: Ron Mayer
Дата:
Сообщение: Re: Proposed patch: make SQL interval-literal syntax work per spec
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Better auth errors from libpq