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.