Re: pgsql: Wrap PL/Python SPI calls into subtransactions - Mailing list pgsql-committers

From Andrew Dunstan
Subject Re: pgsql: Wrap PL/Python SPI calls into subtransactions
Date
Msg-id 4D49FD71.2030504@dunslane.net
Whole thread Raw
In response to pgsql: Wrap PL/Python SPI calls into subtransactions  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: pgsql: Wrap PL/Python SPI calls into subtransactions
List pgsql-committers

On 02/02/2011 03:09 PM, Peter Eisentraut wrote:
> Wrap PL/Python SPI calls into subtransactions
>
> This allows the language-specific try/catch construct to catch and
> handle exceptions arising from SPI calls, matching the behavior of
> other PLs.
>
> As an additional bonus you no longer get all the ugly "unrecognized
> error in PLy_spi_execute_query" errors.
>
>


We seem to have major buildfarm breakage from this.

cheers

andrew

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Mark all GUC variables with markup, rather than
Next
From: Tom Lane
Date:
Subject: pgsql: Clean up missed change to plpython expected files.