Skip site navigation (1) Skip section navigation (2)

Re: [PATCH] Fix documentation about PL/Python exception handling

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [PATCH] Fix documentation about PL/Python exception handling
Date: 2010-11-26 23:50:21
Message-ID: 201011262350.oAQNoLK25416@momjian.us (view raw or flat)
Thread:
Lists: pgsql-docs
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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

In response to

Responses

pgsql-docs by date

Next:From: Robert HaasDate: 2010-11-28 13:05:12
Subject: Re: Documentation bug: Chapter 35.4, paragraph 4
Previous:From: Bruce MomjianDate: 2010-11-24 23:42:17
Subject: documention of checkpoints with file system snapshots

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group