plpython has plpy.Error instead of plpy.ERROR

Author: Marti Raudsepp <marti@juffo.org>
pull/1/head
Alvaro Herrera 15 years ago
parent 54428dbe90
commit 73bc5218df
  1. 4
      doc/src/sgml/plpython.sgml

@ -954,8 +954,8 @@ $$ LANGUAGE plpythonu;
<function>plpy.fatal</function> actually raise a Python exception <function>plpy.fatal</function> actually raise a Python exception
which, if uncaught, propagates out to the calling query, causing which, if uncaught, propagates out to the calling query, causing
the current transaction or subtransaction to be aborted. the current transaction or subtransaction to be aborted.
<literal>raise plpy.ERROR(<replaceable>msg</>)</literal> and <literal>raise plpy.Error(<replaceable>msg</>)</literal> and
<literal>raise plpy.FATAL(<replaceable>msg</>)</literal> are <literal>raise plpy.Fatal(<replaceable>msg</>)</literal> are
equivalent to calling equivalent to calling
<function>plpy.error</function> and <function>plpy.error</function> and
<function>plpy.fatal</function>, respectively. <function>plpy.fatal</function>, respectively.

Loading…
Cancel
Save