=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= <wulc...@wulczer.org> writes: > 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. Applied back to 8.2. Thanks for the patch. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers