Re: pgsql: Wrap PL/Python SPI calls into subtransactions

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Wrap PL/Python SPI calls into subtransactions
Date: 2011-02-03 00:57:21
Message-ID: 4D49FD71.2030504@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-02-03 01:16:57 pgsql: Clean up missed change to plpython expected files.
Previous Message Bruce Momjian 2011-02-02 23:07:09 pgsql: Mark all GUC variables with <varname> markup, rather than <liter