Tony Caduto <tony_caduto@xxxxxxxxxxxxxxxxxxxx> writes: > "The current implementation of RETURN NEXT for PL/pgSQL stores the > entire result set before returning from the function" > I thought I read somewhere that 8.x did not do this. Sorry. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org