Re: Better auth errors from libpq

Поиск
Список
Период
Сортировка
От Joshua Drake
Тема Re: Better auth errors from libpq
Дата
Msg-id 20080911201045.2789e4f7@jd-laptop
обсуждение исходный текст
Ответ на Re: Better auth errors from libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Better auth errors from libpq
Re: Better auth errors from libpq
Список pgsql-hackers
On Thu, 11 Sep 2008 22:59:40 -0400
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> >     psql: FATAL:  Ident authentication failed for user "root"
> >     HINT:  Is pg_hba.conf set properly on the server?
> 
> Seems pretty useless.  What does "set properly" mean?  There isn't
> even any good reason to think that the solution to most auth failures
> is to change pg_hba.conf, so I'd bet that this hint is wrong far more
> often than it's right.

I think something like:

psql: FATAL:  Ident authentication failed for user "root"
HINT: http://www.postgresql.org/docs/8.3/static/client-authentication.html

Would be nice. Heck in most modern terminals the HINT would be
clickable too :)

Sincerely,

Joshua D. Drake
-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Better auth errors from libpq
Следующее
От: David Fetter
Дата:
Сообщение: Re: Better auth errors from libpq