X-Original-To: pgsql-hackers@postgresql.org Received: from houston.familyhealth.com.au (unknown [203.59.48.253]) by postgresql.org (Postfix) with ESMTP id 7E24847580B for ; Thu, 13 Mar 2003 21:16:23 -0500 (EST) Received: (from root@localhost) by houston.familyhealth.com.au (8.11.6/8.11.6) id h2E2GQS40490 for pgsql-hackers@postgresql.org; Fri, 14 Mar 2003 10:16:26 +0800 (WST) (envelope-from chriskl@familyhealth.com.au) Received: from mariner (mariner.internal [192.168.0.101]) by houston.familyhealth.com.au (8.11.6/8.9.3) with SMTP id h2E2GO740445; Fri, 14 Mar 2003 10:16:24 +0800 (WST) Message-ID: <0cfd01c2e9cf$c16ea070$6500a8c0@fhp.internal> From: "Christopher Kings-Lynne" To: , "Tom Lane" References: <9168.1047588660@sss.pgh.pa.us> Subject: Re: Upgrading the backend's error-message infrastructure Date: Fri, 14 Mar 2003 10:16:42 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-scanner: scanned by Inflex 0.1.5c - (http://www.inflex.co.za/) X-Archive-Number: 200303/586 X-Sequence-Number: 36832 > Comments? All the error stuff sounds really neat. I volunteer for doing lots of elog changes when the time comes. 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. So people can look up errors offline (oracle-style) Chris