Hi Sentill,
"Practical PostgreSQL" O'Reilly Press chapter
11 describes
FOR ......... IN .... LOOP
END LOOP;
Or then "PHP an PostgreSQL" SAMS chapter 9, section 9.2 has a good
discussion.
And also "PostgreSQL, Developer's Handbook" SAMS chapter 5 discusses
FOR loops.
Regards Mark Carew