Skip site navigation (1) Skip section navigation (2)

Re: pgsql: plpython: Add SPI cursor support

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Jan Urbański <wulczer(at)wulczer(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-committers(at)postgresql(dot)org, Steve Singer <ssinger(at)ca(dot)afilias(dot)info>
Subject: Re: pgsql: plpython: Add SPI cursor support
Date: 2012-01-09 16:43:51
Message-ID: 4F0B1947.3090802@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers

On 01/09/2012 10:52 AM, Dave Page wrote:
> On Mon, Jan 9, 2012 at 3:35 PM, Andrew Dunstan<andrew(at)dunslane(dot)net>  wrote:
>>
>>
>> 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?
> Yes, it's defined as such:
>
> PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *);
>
>
>

Hmm. Well, at this stage I'm slightly inclined to say it's a compiler 
problem. That's a pretty old compiler. If you can't upgrade it maybe you 
should just take --with-python out of the buildfarm settings.

cheers

andrew

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2012-01-09 16:57:26
Subject: Re: pgsql: plpython: Add SPI cursor support
Previous:From: Kevin GrittnerDate: 2012-01-09 16:24:28
Subject: entab .gitignore file

pgsql-committers by date

Next:From: Tom LaneDate: 2012-01-09 16:57:26
Subject: Re: pgsql: plpython: Add SPI cursor support
Previous:From: Dave PageDate: 2012-01-09 15:52:51
Subject: Re: pgsql: plpython: Add SPI cursor support

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group