From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Better auth errors from libpq |
Date: | 2008-09-12 02:44:49 |
Message-ID: | 20080912024449.GE9856@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(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
Attachment | Content-Type | Size |
---|---|---|
hint.diff | text/plain | 3.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alex Hunsaker | 2008-09-12 02:51:53 | Re: hash index improving v3 |
Previous Message | Ron Mayer | 2008-09-12 00:42:13 | Re: Proposed patch: make SQL interval-literal syntax work per spec |