PL/pgSQL: FOT Loops vs Cursors - Mailing list pgsql-novice

From Van Ingen, Lane
Subject PL/pgSQL: FOT Loops vs Cursors
Date
Msg-id A3FF4275060B76459B5C08A64AE330C86A3E@twmail.esncc.com
Whole thread Raw
Responses Re: PL/pgSQL: FOT Loops vs Cursors  ("Mike G." <mike@thegodshalls.com>)
List pgsql-novice
After reading the manual (8.0: pages 582, 584). I am not certain what real advantage there is to using a cursor over
usinga FOR loop, since FOR automatically uses a cursor anyway. They both avoid memory problems. Have I missed something
orare there other reasons?
 

pgsql-novice by date:

Previous
From: Kjetil Haaland
Date:
Subject: Re: function returning a row
Next
From: "Van Ingen, Lane"
Date:
Subject: Using PL/pgSQL to Properly Define A Trigger