Re: Bug in plpython's Python Generators - Mailing list pgsql-hackers

From Jan Urbański
Subject Re: Bug in plpython's Python Generators
Date
Msg-id 4CE011D4.3070604@wulczer.org
Whole thread Raw
In response to Re: Bug in plpython's Python Generators  (Jan Urbański <wulczer@wulczer.org>)
Responses Re: Bug in plpython's Python Generators
Re: Bug in plpython's Python Generators
List pgsql-hackers
On 24/10/10 00:32, Jan Urbański wrote:
> On 21/10/10 20:48, Alvaro Herrera wrote:
>> ... and presumably somebody can fix the real bug that Jean-Baptiste hit,
>> too.
>
> AFAICS the error comes from PLy_function_handler disconnecting from SPI
> after calling into the Python code and then going ahead and reading the
> result from the iterator.

Here's a patch with a fix for that bug.

Cheers,
Jan

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Improved parallel make support
Next
From: "David E. Wheeler"
Date:
Subject: Re: add label to enum syntax