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
>