From dabde323b2cc7058946e08dbf2e56cad7601e34e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 26 May 2005 04:08:32 +0000 Subject: Back out SQLSTATE and SQLERRM support. --- doc/src/sgml/plpgsql.sgml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 17e62744c5e..7d2b37e41d7 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,5 +1,5 @@ @@ -2007,13 +2007,12 @@ END LOOP; - Any error occurring in PL/pgSQL sets variables - SQLSTATE and SQLERRM, and, by default, - aborts execution of the function, and indeed of the surrounding - transaction as well. You can trap errors and recover from them by - using a BEGIN block with an EXCEPTION - clause. The syntax is an extension of the normal syntax for a - BEGIN block: + By default, any error occurring in a PL/pgSQL + function aborts execution of the function, and indeed of the + surrounding transaction as well. You can trap errors and recover + from them by using a BEGIN block with an + EXCEPTION clause. The syntax is an extension of the + normal syntax for a BEGIN block: <<label>> -- cgit v1.2.3