Re: Upgrading the backend's error-message infrastructure - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Upgrading the backend's error-message infrastructure
Date
Msg-id 1047610701.359.1861.camel@tokyo
Whole thread Raw
In response to Re: Upgrading the backend's error-message infrastructure  (Larry Rosenman <ler@lerctr.org>)
Responses Re: Upgrading the backend's error-message infrastructure
List pgsql-hackers
On Thu, 2003-03-13 at 21:48, Larry Rosenman wrote:
> > Is there any benefit to having this over just including an index of
> > error codes in the documentation?

> yes, it makes it script-able

What need would you have for it to be script-able? The backend will
return the error text whenever it returns an error code -- in what
situation would a client app have the error code but not the error
message as well?

> and probably more up to date than documentation....

The way to fix that is to keep the documentation up to date, not invent
pseudo-documentation.

Cheers,

Neil

-- 
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC





pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Hrm. interval() function?
Next
From: Larry Rosenman
Date:
Subject: Re: Upgrading the backend's error-message infrastructure