From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Neil Conway <neilc(at)samurai(dot)com>, 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:48:18 |
Message-ID: | 47640000.1047610098@lerlaptop.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-interfaces |
--On Thursday, March 13, 2003 21:44:29 -0500 Neil Conway
<neilc(at)samurai(dot)com> wrote:
> 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?
yes, it makes it script-able, and probably more up to date than
documentation....
Especially if it's in the DB or from the source code.
LER
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2003-03-14 02:49:28 | Re: Hrm. interval() function? |
Previous Message | Neil Conway | 2003-03-14 02:44:29 | Re: Upgrading the backend's error-message infrastructure |
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2003-03-14 02:51:24 | Re: Upgrading the backend's error-message infrastructure |
Previous Message | Neil Conway | 2003-03-14 02:44:29 | Re: Upgrading the backend's error-message infrastructure |