FOR vs Cursors

From: "Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: FOR vs Cursors
Date: 2005-02-09 21:55:45
Message-ID: A3FF4275060B76459B5C08A64AE330C86A37@twmail.esncc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

After reading the manual (8.0). I am not certain what real advantage there is to using a cursor
over using a FOR loop. since FOR automatically uses a cursor anyway. They both avoid
memory problems. Have I missed something or are there other reasons?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-02-09 22:13:54 Re: Understanding EXPLAIN ANALYZE output
Previous Message Tom Lane 2005-02-09 21:52:52 Re: Understanding EXPLAIN ANALYZE output