Zahid Khan <khanzahid...@yahoo.com> writes: >> I might be missing something here, but where do you see the bug? The cursor >> is >> indeed already defined.
> What i understand here is,we should be able to DECLARE cursor again > with the same name if that is CLOSE already. No, CLOSE reverses the effect of OPEN, not of DECLARE. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs