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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-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

Browse pgsql-committers by date

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2011-12-14 21:47:12 Re: unite recovery.conf and postgresql.conf
Previous Message Robert Haas 2011-12-14 21:28:48 Re: unite recovery.conf and postgresql.conf