<cyw@xxxxxxx> writes: > I see some proposal for implementing FOR loop for cursor in PG 8.4, but I could not found documentaion on how to loop or iterate thru a cursor in PG 8.3 or earler versions? LOOP FETCH ...; EXIT WHEN NOT FOUND; ... END LOOP; regards, tom lane