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

Re: pgsql: plpython: Add SPI cursor support

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org, Jan Urbański <wulczer(at)wulczer(dot)org>, Steve Singer <ssinger(at)ca(dot)afilias(dot)info>
Subject: Re: pgsql: plpython: Add SPI cursor support
Date: 2011-12-14 21:46:58
Message-ID: 4EE91952.5080600@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers

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>:

    plpython.c:3163: error: initializer element is not constant
    plpython.c:3163: error: (near initialization for `PLy_CursorType.tp_iter')
    make[3]: *** [plpython.o] Error 1


Can someone please investigate?

cheers

andrew

In response to

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2011-12-14 21:47:12
Subject: Re: unite recovery.conf and postgresql.conf
Previous:From: Robert HaasDate: 2011-12-14 21:28:48
Subject: Re: unite recovery.conf and postgresql.conf

pgsql-committers by date

Next:From: Andrew DunstanDate: 2011-12-14 21:50:02
Subject: pgsql: Fix docs build I inadvertantly broke.
Previous:From: Andrew DunstanDate: 2011-12-14 14:29:37
Subject: pgsql: Add --exclude-table-data option to pg_dump.

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