plpython has plpy.Error instead of plpy.ERROR
authorAlvaro Herrera <[email protected]>
Tue, 9 Nov 2010 14:00:56 +0000 (11:00 -0300)
committerAlvaro Herrera <[email protected]>
Tue, 9 Nov 2010 14:05:37 +0000 (11:05 -0300)
Author: Marti Raudsepp <[email protected]>

doc/src/sgml/plpython.sgml

index aa7804d9bb381980f6541888666e47a1d8d52880..daefc583f3b43a6378b80056824191ff4ba3eac8 100644 (file)
@@ -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.