Re: pgsql: plpython: Add SPI cursor support

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Jan Urbański <wulczer@wulczer.org>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-committers@postgresql.org, Steve Singer <ssinger@ca.afilias.info>, Dave Page <dpage@pgadmin.org>
Date: 2012-01-09T15:35:06Z
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 12/14/2011 06:43 PM, Jan Urbański wrote:
> ----- Original message -----
>> On 12/05/2011 12:56 PM, Peter Eisentraut wrote:
>>> plpython: Add SPI cursor support
>>>
>>> Add a function plpy.cursor that is similar to plpy.execute but uses an
>>> SPI cursor to avoid fetching the entire result set into memory.
>>>
>>> Jan Urbański, reviewed by Steve Singer
>>>
>>>
>> This commit apparently caused a problem on buildfarm narwhal, which has
>> been failing for 8 days without anyone paying attention. See
>> <http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=narwhal&dt=2011-12-14%2017%3A00%3A02>:
> I did some investigation after this has been committed and couldn't come up with a reasonable explanation (not at my PC at the moment, can't find the relevant thread).
>
> Can we check if PyObject_SelfIter is defined in Include/object.h in the Python install dir on that machine? If yes, then this looks like a MinGW quirk, which I'll do my best to investigate, but I don't have easy access to a Windows machine with a mingw toolchain...

Dave,

this is your machine. It's been failing for 34 days now. Could you 
please follow up?

cheers

andrew