Re: Better auth errors from libpq - Mailing list pgsql-hackers

From Joshua Drake
Subject Re: Better auth errors from libpq
Date
Msg-id 20080911201045.2789e4f7@jd-laptop
Whole thread Raw
In response to Re: Better auth errors from libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Better auth errors from libpq
Re: Better auth errors from libpq
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Better auth errors from libpq
Next
From: David Fetter
Date:
Subject: Re: Better auth errors from libpq