aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2010-11-09 11:00:56 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2010-11-09 11:02:17 -0300
commit73bc5218df0330a4beb737f497fa8d7b337c9f90 (patch)
tree6561050fb2ce4c48b672e81c9b3fe676df384af3
parent54428dbe90cf11d17439acad9b8dcf375a14819d (diff)
downloadpostgresql-73bc5218df0330a4beb737f497fa8d7b337c9f90.tar.gz
postgresql-73bc5218df0330a4beb737f497fa8d7b337c9f90.zip
plpython has plpy.Error instead of plpy.ERROR
Author: Marti Raudsepp <marti@juffo.org>
-rw-r--r--doc/src/sgml/plpython.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml
index 6eb884e0dc5..9fc8808776c 100644
--- a/doc/src/sgml/plpython.sgml
+++ b/doc/src/sgml/plpython.sgml
@@ -954,8 +954,8 @@ $$ LANGUAGE plpythonu;
<function>plpy.fatal</function> actually raise a Python exception
which, if uncaught, propagates out to the calling query, causing
the current transaction or subtransaction to be aborted.
- <literal>raise plpy.ERROR(<replaceable>msg</>)</literal> and
- <literal>raise plpy.FATAL(<replaceable>msg</>)</literal> are
+ <literal>raise plpy.Error(<replaceable>msg</>)</literal> and
+ <literal>raise plpy.Fatal(<replaceable>msg</>)</literal> are
equivalent to calling
<function>plpy.error</function> and
<function>plpy.fatal</function>, respectively.