1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

plpython has plpy.Error instead of plpy.ERROR

Author: Marti Raudsepp <marti@juffo.org>
This commit is contained in:
Alvaro Herrera 2010-11-09 11:00:56 -03:00
parent 54428dbe90
commit 73bc5218df

View File

@ -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.