> FOR row IN select_query LOOP
>      statements
>      RETURN NEXT row;
> END LOOP;

Informix has 
        RETURN x1, x2, x3 WITH RESUME;

This seems reasonable to me. PostgreSQL could also allow
return x with resume, where x is already a composite type.

Andreas

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to