Matthew Wakeling <matthew@flymine.org> writes:
> On Tue, 7 Apr 2009, Tom Lane wrote:
>> Subsequent discussion showed that the problem was Matthew hadn't found
>> that page. I guess that at least the DECLARE CURSOR reference page
>> ought to have something like "if you are trying to use cursors in
>> plpgsql, see <link>". Matthew, where *were* you looking exactly?
> The DECLARE CURSOR page, and then guessing the INTO bit because that's how
> SELECT works.
I've added cross-references in the DECLARE and FETCH pages. I hope
that's sufficient to catch the attention of anyone trying to use cursors
...
regards, tom lane