Re: Error message listing?

From: elein <elein(at)varlena(dot)com>
To: pgsql-docs(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: elein <elein(at)varlena(dot)com>
Subject: Re: Error message listing?
Date: 2003-08-08 19:42:13
Message-ID: 20030808124213.H31611@cookie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The point of including the message texts is
for people supporting various versions who
are looking directly at the message texts
for earlier versions.

This also allows them to upgrade the error
handling to use the new error codes instead
of relying on the message text (which is what
we want).

elein

On Fri, Aug 08, 2003 at 09:21:51AM -0400, Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Tom Lane writes:
> >> Or were you looking for src/include/utils/errcodes.h ?
>
> > I think we should put such a list in the documentation, at least for those
> > error codes that we have really assigned.
>
> I have no objection to that. I have doubts about the utility of a
> listing of message texts, but the SQLSTATE codes seem reasonable to
> document.
>
> Would it be possible to generate the list automatically from errcodes.h,
> to simplify future maintenance?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2003-08-14 21:29:36 Inconsistencies in our SGML output
Previous Message Tom Lane 2003-08-08 13:21:51 Re: Error message listing?