Re: Better auth errors from libpq

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Better auth errors from libpq
Дата
Msg-id 20080912035258.GJ9856@fetter.org
обсуждение исходный текст
Ответ на Re: Better auth errors from libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Better auth errors from libpq
Список pgsql-hackers
On Thu, Sep 11, 2008 at 11:28:36PM -0400, Tom Lane wrote:
> Joshua Drake <jd@commandprompt.com> writes:
> > 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.
>
> Do you really think that's helpful in the typical case where someone
> fat-fingered their password?
>
> I'm not averse to hint messages that are actually helpful, ie,
> reasonably connected to the *specific* failure situation.  The problem
> I've got with David's proposal is that it provides a one-size-fits-all
> hint for every possible auth failure.  One size does not fit all here.

Here's a few different sizes: one for each auth method.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Вложения

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Better auth errors from libpq
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Better auth errors from libpq