X-Original-To: pgsql-hackers@postgresql.org Received: from bob.samurai.com (bob.samurai.com [205.207.28.75]) by postgresql.org (Postfix) with ESMTP id 5949B476357 for ; Thu, 13 Mar 2003 21:44:28 -0500 (EST) Received: from DU150.N224.ResNet.QueensU.CA (DU150.N224.ResNet.QueensU.CA [130.15.224.150]) by bob.samurai.com (Postfix) with ESMTP id 32B9B1F21; Thu, 13 Mar 2003 21:44:32 -0500 (EST) Subject: Re: Upgrading the backend's error-message infrastructure From: Neil Conway To: Christopher Kings-Lynne Cc: PostgreSQL Hackers , Tom Lane In-Reply-To: <0cfd01c2e9cf$c16ea070$6500a8c0@fhp.internal> References: <9168.1047588660@sss.pgh.pa.us> <0cfd01c2e9cf$c16ea070$6500a8c0@fhp.internal> Content-Type: text/plain Organization: Message-Id: <1047609869.357.1856.camel@tokyo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 13 Mar 2003 21:44:29 -0500 Content-Transfer-Encoding: 7bit X-Archive-Number: 200303/591 X-Sequence-Number: 36837 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 || PGP Key ID: DB3C29FC