"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> 2007/6/11, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>> Why do we need this?
>>
> For stored procedures.
No, the question is what is the patch trying to accomplish, because
as far as I can see it's wrong. It seems to be trying to insert the
plpgsql name of the cursor, which is not necessarily the SQL name.
regards, tom lane