pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Larry Rosenman <ler@lerctr.org>
To: Neil Conway <neilc@samurai.com>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Upgrading the backend's error-message infrastructure
Date: Thu, 13 Mar 2003 20:48:18 -0600
Message-ID: <47640000.1047610098@lerlaptop.lerctr.org> (raw)
In-Reply-To: <1047609869.357.1856.camel@tokyo>
References: <9168.1047588660@sss.pgh.pa.us>
	<0cfd01c2e9cf$c16ea070$6500a8c0@fhp.internal>
	<1047609869.357.1856.camel@tokyo>



--On Thursday, March 13, 2003 21:44:29 -0500 Neil Conway 
<neilc@samurai.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@samurai.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@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749






view thread (32+ messages)  latest in thread

Message-ID: <47640000.1047610098@lerlaptop.lerctr.org>
Permalink:  ../47640000.1047610098@lerlaptop.lerctr.org/
Also on:    postgresql.org/message-id/47640000.1047610098@lerlaptop.lerctr.org

 · 

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-interfaces@postgresql.org
  Cc: ler@lerctr.org, neilc@samurai.com, chriskl@familyhealth.com.au, pgsql-hackers@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: Upgrading the backend's error-message infrastructure
  In-Reply-To: <47640000.1047610098@lerlaptop.lerctr.org>

* 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