From: Bruce Momjian <bruce@momjian.us>
To: Marti Raudsepp <marti@juffo.org>
Cc: pgsql-docs <pgsql-docs@postgresql.org>
Subject: Re: [PATCH] Fix documentation about PL/Python exception handling
Date: Fri, 26 Nov 2010 18:50:21 -0500 (EST)
Message-ID: <201011262350.oAQNoLK25416@momjian.us> (raw)
In-Reply-To: <AANLkTinWJoW2Q1VOtb-EL_XV3iOrKNBedTFfbx_zhED-@mail.gmail.com>
Added to TODO:
/* PL/Python */ Add: |Improve behaviour of exception functions
and types
---------------------------------------------------------------------------
Marti Raudsepp wrote:
> Hi lists,
>
> It seems that PL/Python exception functions (plpy.error, plpy.fatal)
> and exception types (plpy.Error, plpy.Fatal) have never worked as
> documented, and the behavior is quite surprising.
>
> This is an attempt at properly documenting the current semantics. I
> tested these behaviors on PostgreSQL 8.1.22 as well as 9.1alpha2.
>
> Patch 1 updates the documentation in doc/src/sgml/plpython.sgml
> Patch 2 adds tests to src/pl/plpython/sql/plpython_error.sql
>
> Should I submit separate documentation patches for older maintenance
> releases? Versions 8.1 - 8.4 contain the same incorrect text, but in
> the "Database Access" section.
>
> Regards,
> Marti
[ Attachment, skipping... ]
[ Attachment, skipping... ]
>
> --
> Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-docs@postgresql.org
Cc: bruce@momjian.us, marti@juffo.org
Subject: Re: [PATCH] Fix documentation about PL/Python exception handling
In-Reply-To: <201011262350.oAQNoLK25416@momjian.us>
References: <AANLkTinWJoW2Q1VOtb-EL_XV3iOrKNBedTFfbx_zhED-@mail.gmail.com> <201011262350.oAQNoLK25416@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox