aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-02-10 06:08:22 +0000
committerNeil Conway <neilc@samurai.com>2005-02-10 06:08:22 +0000
commit35878b9bc6c166425d66f6dca5a2b9fac6296e10 (patch)
tree1cab971315766c70153cfef87e91c16eb77c8129
parentcf1f6f98f221ea8adf1bd74e70249e39165c0b26 (diff)
downloadpostgresql-35878b9bc6c166425d66f6dca5a2b9fac6296e10.tar.gz
postgresql-35878b9bc6c166425d66f6dca5a2b9fac6296e10.zip
Add some index entries for RAISE and exception handling in PL/PgSQL. Per
suggestion from Rainer Brandt.
-rw-r--r--doc/src/sgml/plpgsql.sgml16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 798d127991e..a4bef849bd9 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.59 2005/02/10 05:01:07 neilc Exp $
+$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.60 2005/02/10 06:08:22 neilc Exp $
-->
<chapter id="plpgsql">
@@ -1901,6 +1901,11 @@ END LOOP;
<sect2 id="plpgsql-error-trapping">
<title>Trapping Errors</title>
+ <indexterm>
+ <primary>exceptions</primary>
+ <secondary>in PL/PgSQL</secondary>
+ </indexterm>
+
<para>
By default, any error occurring in a <application>PL/pgSQL</>
function aborts execution of the function, and indeed of the
@@ -2339,6 +2344,15 @@ COMMIT;
<sect1 id="plpgsql-errors-and-messages">
<title>Errors and Messages</title>
+ <indexterm>
+ <primary>RAISE</primary>
+ </indexterm>
+
+ <indexterm>
+ <primary>reporting errors</primary>
+ <secondary>in PL/PgSQL</secondary>
+ </indexterm>
+
<para>
Use the <command>RAISE</command> statement to report messages and
raise errors.