Re: pl/python explicit subtransactions - Mailing list pgsql-hackers

From Jan Urbański
Subject Re: pl/python explicit subtransactions
Date
Msg-id 1298709511.9591.5.camel@Nokia-N900-42-11
Whole thread Raw
In response to Re: pl/python explicit subtransactions  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pl/python explicit subtransactions
List pgsql-hackers
----- Original message -----
> On Wed, Feb 9, 2011 at 5:22 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> > On tis, 2011-02-08 at 00:32 -0500, Steve Singer wrote:
> > > The documentation could probably still use more word-smithing but
> > > that can happen later.  I'm marking this as ready for a committer.
> >
> > Is it necessarily a good idea that an explicit subtransaction disables
> > the implicit sub-subtransactions?  It might be conceivable that you'd
> > still want to do some try/catch within explicit subtransactions.
>
> Is this still an open question, or what is the remaining issue that
> needs to be addressed with regards to this patch?

The docs are included in the latest patch, and it turned out that disabling implicit subxacts inside explicit subxacts
isnot a good idea, so it's been fixed in the last patch. There are no unresolved issues AFAICT. 

Jan


pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: pl/python tracebacks
Next
From: Jan Urbański
Date:
Subject: Re: pl/python do not delete function arguments