X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 24B578BA11F for ; Thu, 10 Feb 2005 06:09:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96740-05 for ; Thu, 10 Feb 2005 06:09:14 +0000 (GMT) Received: from mailbox.samurai.com (mailbox.samurai.com [205.207.28.82]) by svr1.postgresql.org (Postfix) with ESMTP id 55EB18B9EE1 for ; Thu, 10 Feb 2005 06:09:14 +0000 (GMT) Received: from localhost (mailbox.samurai.com [205.207.28.82]) by mailbox.samurai.com (Postfix) with ESMTP id 8076118CC5F; Thu, 10 Feb 2005 01:09:28 -0500 (EST) Received: from mailbox.samurai.com ([205.207.28.82]) by localhost (mailbox.samurai.com [205.207.28.82]) (amavisd-new, port 10024) with LMTP id 46829-01-5; Thu, 10 Feb 2005 01:09:27 -0500 (EST) Received: from fjgateway (unknown [61.88.101.19]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mailbox.samurai.com (Postfix) with ESMTP id 1F92A18CC62; Thu, 10 Feb 2005 01:09:25 -0500 (EST) Subject: Re: raise not in index From: Neil Conway To: Rainer Brandt Cc: pgsql-docs@postgresql.org In-Reply-To: <16906.8320.131098.672547@DEFX0YAG.> References: <16906.8320.131098.672547@DEFX0YAG.> Content-Type: multipart/mixed; boundary="=-odvoE0s4aP+hR481JF17" Date: Thu, 10 Feb 2005 17:08:36 +1100 Message-Id: <1108015716.1286.172.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 X-Virus-Scanned: by amavisd-new at mailbox.samurai.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.052 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/27 X-Sequence-Number: 2860 --=-odvoE0s4aP+hR481JF17 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2005-02-09 at 15:38 +0100, Rainer Brandt wrote: > a suggestion for a small improvement in the 8.0 manual: > > The term 'raise' (see section 35.9) is not in the index. Thanks for the suggestion; I've applied the attached patch to CVS HEAD. -Neil --=-odvoE0s4aP+hR481JF17 Content-Disposition: attachment; filename=plpgsql_docs_idx-1.patch Content-Type: text/x-patch; name=plpgsql_docs_idx-1.patch; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Index: doc/src/sgml/plpgsql.sgml =================================================================== RCS file: /var/lib/cvs/pgsql/doc/src/sgml/plpgsql.sgml,v retrieving revision 1.59 diff -c -r1.59 plpgsql.sgml *** doc/src/sgml/plpgsql.sgml 10 Feb 2005 05:01:07 -0000 1.59 --- doc/src/sgml/plpgsql.sgml 10 Feb 2005 05:21:57 -0000 *************** *** 1901,1906 **** --- 1901,1911 ---- Trapping Errors + + exceptions + in PL/PgSQL + + By default, any error occurring in a PL/pgSQL function aborts execution of the function, and indeed of the *************** *** 2339,2344 **** --- 2344,2358 ---- Errors and Messages + + RAISE + + + + reporting errors + in PL/PgSQL + + Use the RAISE statement to report messages and raise errors. --=-odvoE0s4aP+hR481JF17--