Re: plpython SPI cursors

Jan Urbański <wulczer@wulczer.org>

From: Jan Urbański <wulczer@wulczer.org>
To: Steve Singer <ssinger_pg@sympatico.ca>
Cc: Postgres - Hackers <pgsql-hackers@postgresql.org>
Date: 2011-11-20T18:22:23Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Volatile-qualify a dozen variables in plpython.c to eliminate warnings

On 20/11/11 19:14, Steve Singer wrote:
> On 11-10-15 07:28 PM, Jan Urbański wrote:
>> Hi,
>>
>> attached is a patch implementing the usage of SPI cursors in PL/Python.

> I found a few bugs (see my testing section below) that will need fixing
> + a few questions about the code

Hi Steve,

thanks a lot for the review, I'll investigate the errors you were 
getting and post a follow-up.

Good catch on trying cursors with explicit subtransactions, I didn't 
think about how they would interact.

Cheers,
Jan