"Atul" <atulk(at)newgen(dot)co(dot)in> writes:
> Can't we use cursors inside pl/pgSQL functions.
No.
Here's a patch which supports most cases.
http://www.airs.com/ian/pgsql-cursor.html
Ian