From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Joshua Drake <jd(at)commandprompt(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Better auth errors from libpq |
Date: | 2008-09-12 03:20:29 |
Message-ID: | 20080912032029.GF9856@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Sep 11, 2008 at 08:10:45PM -0700, Joshua D. Drake wrote:
> 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 :)
I'm all for something, and that's a much better something. What we
have now--nothing--actively distresses newbies for no good reason.
I don't know how many people we've lost right at that point, but the
number has to be high, as most people don't just hop into IRC with
their problem.
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-09-12 03:28:36 | Re: Better auth errors from libpq |
Previous Message | Joshua Drake | 2008-09-12 03:10:45 | Re: Better auth errors from libpq |