Re: plpython docs should say 'plpy.Error' instead of ERROR - Mailing list pgsql-docs

From Alvaro Herrera
Subject Re: plpython docs should say 'plpy.Error' instead of ERROR
Date
Msg-id 1289313237-sup-1899@alvh.no-ip.org
Whole thread Raw
In response to plpython docs should say 'plpy.Error' instead of ERROR  (Marti Raudsepp <marti@juffo.org>)
List pgsql-docs
Excerpts from Marti Raudsepp's message of mar nov 09 07:21:54 -0300 2010:
> Currently the PL/Python documentation claims that:
> "raise plpy.ERROR(msg) and raise plpy.FATAL(msg) are equivalent to
> calling plpy.error and plpy.fatal, respectively"
>
> However, the actual names are Error and Fatal, not ERROR or FATAL
> (Python is case-sensitive). Patch to fix documentation attached.

Thanks, pushed to 9.0 and HEAD.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-docs by date:

Previous
From: Marti Raudsepp
Date:
Subject: plpython docs should say 'plpy.Error' instead of ERROR
Next
From: Marti Raudsepp
Date:
Subject: [PATCH] Fix documentation about PL/Python exception handling