From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jan Urbański <wulczer(at)wulczer(dot)org> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Jean-Baptiste Quenot <jbq(at)caraldi(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
Subject: | Re: Bug in plpython's Python Generators |
Date: | 2010-11-15 19:29:21 |
Message-ID: | 4845.1289849361@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= <wulczer(at)wulczer(dot)org> writes:
> On 24/10/10 00:32, Jan Urbaski 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.
Applied back to 8.2. Thanks for the patch.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-11-15 19:30:53 | Re: Instrument checkpoint sync calls |
Previous Message | Robert Haas | 2010-11-15 19:16:06 | Re: Re: Rethinking hint bits WAS: Protecting against unexpected zero-pages: proposal |