Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

Jan Urbański <wulczer@wulczer.org>

From: Jan Urbański <wulczer@wulczer.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers@postgreSQL.org
Date: 2011-12-06T18:33:52Z
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. plpython: Add SPI cursor support

On 06/12/11 19:23, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> plpython: Add SPI cursor support
> 
> Buildfarm member narwhal does not like this patch.  It looks like
> "PyObject_SelfIter" is not a compile-time constant on its version
> of python (2.5, apparently).

Hm, I quickly tried with a self-compiled Python 2.5.6 from the upstream
tarball and it compiled on my Linux machine.

I see that PyObject_SelfIter is defined here:

http://hg.python.org/cpython/file/b48e1b48e670/Include/object.h#l407

I'll try to dig around to see what can be causing that...

Cheers,
Jan