From 35878b9bc6c166425d66f6dca5a2b9fac6296e10 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Thu, 10 Feb 2005 06:08:22 +0000 Subject: [PATCH] Add some index entries for RAISE and exception handling in PL/PgSQL. Per suggestion from Rainer Brandt. --- doc/src/sgml/plpgsql.sgml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 @@ @@ -1901,6 +1901,11 @@ END LOOP; 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,6 +2344,15 @@ COMMIT; Errors and Messages + + RAISE + + + + reporting errors + in PL/PgSQL + + Use the RAISE statement to report messages and raise errors.