Re: Better auth errors from libpq

From: David Fetter <david(at)fetter(dot)org>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, 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 16:45:28
Message-ID: 20080912164528.GN27694@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 12, 2008 at 12:30:12PM -0400, Alvaro Herrera wrote:
> Joshua D. Drake wrote:
> > Heikki Linnakangas wrote:
> >
> >>> The only thing I would say here is that you point the URL to
> >>> current which will be wrong in one release. Perhaps something
> >>> that pulls the pgversion macro?
> >>
> >> We don't put URLs in error messages. The hint needs to be a real
> >> sentence.
> >
> > Which is exactly why its the first thing we do when supporting
> > people. Point them to the URL in the docs.
>
> Let's add a new field in error reports: errurl()

Excellent idea :)

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Chernow 2008-09-12 16:48:31 Re: Better auth errors from libpq
Previous Message Simon Riggs 2008-09-12 16:45:15 Re: Synchronous Log Shipping Replication