Re: plpython docs should say 'plpy.Error' instead of ERROR

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: plpython docs should say 'plpy.Error' instead of ERROR
Дата
Msg-id 1289313237-sup-1899@alvh.no-ip.org
обсуждение исходный текст
Ответ на plpython docs should say 'plpy.Error' instead of ERROR  (Marti Raudsepp <marti@juffo.org>)
Список 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 по дате отправления:

Предыдущее
От: Marti Raudsepp
Дата:
Сообщение: plpython docs should say 'plpy.Error' instead of ERROR
Следующее
От: Marti Raudsepp
Дата:
Сообщение: [PATCH] Fix documentation about PL/Python exception handling