Michael Fuhr <mike@xxxxxxxx> writes: > I don't think PL/pgSQL implements cursors fully. Its cursor facility is certainly far weaker than what's presently in the main SQL language. I think this is at least partly historical accident (ie we upgraded the main language and forgot about plpgsql). regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly