Thread: Looping the result set in plpythonu

Looping the result set in plpythonu

From
Allan Kamau
Date:
Hi all,
Am having trouble finding a way to loop through the records (one by one) of the resultset returned by
plpy.execute("myquery")statement. 

Please show me a a few lines of the looping and how to terminate the loop once no more records are found.


Allan.






      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs