| From: | Joshua Drake <jd(at)commandprompt(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | David Fetter <david(at)fetter(dot)org>, PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Better auth errors from libpq |
| Date: | 2008-09-12 03:10:45 |
| Message-ID: | 20080911201045.2789e4f7@jd-laptop |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, 11 Sep 2008 22:59:40 -0400
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Fetter | 2008-09-12 03:20:29 | Re: Better auth errors from libpq |
| Previous Message | Tom Lane | 2008-09-12 02:59:40 | Re: Better auth errors from libpq |