File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.59 2005/02/10 05:01:07 neilc Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.60 2005/02/10 06:08:22 neilc Exp $
3
3
-->
4
4
5
5
<chapter id="plpgsql">
@@ -1901,6 +1901,11 @@ END LOOP;
1901
1901
<sect2 id="plpgsql-error-trapping">
1902
1902
<title>Trapping Errors</title>
1903
1903
1904
+ <indexterm>
1905
+ <primary>exceptions</primary>
1906
+ <secondary>in PL/PgSQL</secondary>
1907
+ </indexterm>
1908
+
1904
1909
<para>
1905
1910
By default, any error occurring in a <application>PL/pgSQL</>
1906
1911
function aborts execution of the function, and indeed of the
@@ -2339,6 +2344,15 @@ COMMIT;
2339
2344
<sect1 id="plpgsql-errors-and-messages">
2340
2345
<title>Errors and Messages</title>
2341
2346
2347
+ <indexterm>
2348
+ <primary>RAISE</primary>
2349
+ </indexterm>
2350
+
2351
+ <indexterm>
2352
+ <primary>reporting errors</primary>
2353
+ <secondary>in PL/PgSQL</secondary>
2354
+ </indexterm>
2355
+
2342
2356
<para>
2343
2357
Use the <command>RAISE</command> statement to report messages and
2344
2358
raise errors.
You can’t perform that action at this time.
0 commit comments