Re: Upgrading the backend's error-message infrastructure

From: Neil Conway <neilc(at)samurai(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Upgrading the backend's error-message infrastructure
Date: 2003-03-14 02:44:29
Message-ID: 1047609869.357.1856.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

On Thu, 2003-03-13 at 21:16, Christopher Kings-Lynne wrote:
> Would it be possible to do a command line app?
>
> bash$ pg_error 1200D
> Severity: ERROR
> Message: Division by zero
> Detail:
> Hint: Modify statement to prevent zeros appearing in denominators.

Is there any benefit to having this over just including an index of
error codes in the documentation?

Cheers,

Neil

--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-03-14 02:48:18 Re: Upgrading the backend's error-message infrastructure
Previous Message Larry Rosenman 2003-03-14 02:41:03 Hrm. interval() function?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Larry Rosenman 2003-03-14 02:48:18 Re: Upgrading the backend's error-message infrastructure
Previous Message Larry Rosenman 2003-03-14 02:37:50 Re: Roadmap for FE/BE protocol redesign