Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group