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 B1B1AD1C4E1 for ; Fri, 8 Aug 2003 13:22:18 +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 32568-02 for ; Fri, 8 Aug 2003 10:20:55 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 8E891D1C4CA for ; Fri, 8 Aug 2003 10:22:07 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h78DLpSa015454; Fri, 8 Aug 2003 09:21:51 -0400 (EDT) To: Peter Eisentraut Cc: josh@agliodbs.com, pgsql-docs@postgresql.org Subject: Re: Error message listing? In-reply-to: References: <200308071604.19919.josh@agliodbs.com> <9659.1060298474@sss.pgh.pa.us> Comments: In-reply-to Peter Eisentraut message dated "Fri, 08 Aug 2003 09:29:07 +0200" Date: Fri, 08 Aug 2003 09:21:51 -0400 Message-ID: <15453.1060348911@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/44 X-Sequence-Number: 1904 Peter Eisentraut writes: > Tom Lane writes: >> Or were you looking for src/include/utils/errcodes.h ? > I think we should put such a list in the documentation, at least for those > error codes that we have really assigned. I have no objection to that. I have doubts about the utility of a listing of message texts, but the SQLSTATE codes seem reasonable to document. Would it be possible to generate the list automatically from errcodes.h, to simplify future maintenance? regards, tom lane