pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: elein <elein@varlena.com>
To: pgsql-docs@postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>
Cc: elein <elein@varlena.com>
Subject: Re: Error message listing?
Date: Fri, 8 Aug 2003 12:42:13 -0700
Message-ID: <20030808124213.H31611@cookie> (raw)
In-Reply-To: <15453.1060348911@sss.pgh.pa.us>
References: <200308071604.19919.josh@agliodbs.com>
	<9659.1060298474@sss.pgh.pa.us>
	<Pine.LNX.4.56.0308080927300.1385@krusty.localdomain>
	<15453.1060348911@sss.pgh.pa.us>

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
> 



view thread (8+ messages)

Message-ID: <20030808124213.H31611@cookie>
Permalink:  ../20030808124213.H31611@cookie/
Also on:    postgresql.org/message-id/20030808124213.H31611@cookie

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: elein@varlena.com, tgl@sss.pgh.pa.us
  Subject: Re: Error message listing?
  In-Reply-To: <20030808124213.H31611@cookie>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox