X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2C7C4D1B8BC for ; Wed, 3 Sep 2003 20:08:47 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 38764-09 for ; Wed, 3 Sep 2003 17:08:38 -0300 (ADT) Received: from davinci.ethosmedia.com (unknown [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 2E648D1B8E3 for ; Wed, 3 Sep 2003 17:08:36 -0300 (ADT) Received: from [66.219.92.2] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3601335; Wed, 03 Sep 2003 13:08:01 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Tom Lane , pgsql-docs@postgresql.org Subject: Re: Do we need "Diagnostics" sections of SQL command reference pages? Date: Wed, 3 Sep 2003 13:06:14 -0700 User-Agent: KMail/1.4.3 References: <13339.1061847470@sss.pgh.pa.us> In-Reply-To: <13339.1061847470@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200309031306.14405.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/7 X-Sequence-Number: 1963 Tom, > I'm starting to look at updating the docs to match 7.4 error message > spellings. I find that a large part of the work I'll have to do is in > updating the "Diagnostics" (formerly "Outputs") section of the command > reference pages. I am wondering if it wouldn't be better to just rip > out these sections entirely. They seem like nearly content-free fluff > to me --- the listings of possible error messages are always incomplete, > often out of date, and arguably useless. If there is an error message > that's not clear enough by itself, we'd better fix the error message > instead of putting a gloss on it in the reference page. >=20 > Comments? I agree that we don't need descriptions of the meaning of each error messag= e=20 in the command documentation. However, the listing of potential error messages is *very* useful to=20 application coders for doing automated handling of errors. Since we are n= ow=20 supporting SQLSTATE responses, perhaps we could have error code ranges for= =20 the commands? Or is that totally unreasonable? --=20 -Josh Berkus Aglio Database Solutions San Francisco