Re: Error message listing? - Mailing list pgsql-docs

From elein
Subject Re: Error message listing?
Date
Msg-id 20030808124213.H31611@cookie
Whole thread Raw
In response to Re: Error message listing?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@gmx.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
>

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Error message listing?
Next
From: Francois Suter
Date:
Subject: Re: Error message listing?