From: pgsql-hackers-ow...@postgresql.org
[mailto:pgsql-hackers-ow...@postgresql.org] On Behalf Of Craig Ringer
Sent: Friday, August 24, 2012 7:17 AM

> I've recently noticed two oversights in the docs that I'd like to fix.


> First, in sql-fetch, there's no hint that the cursor name can be the 
> quoted value of a refcursor, eg:

>     FETCH ALL FROM "<unnamed portal 1>";

> This *is* shown in an example in plpgsql-cursors, but only in some 
> sample code. If you set out with the question "how do I fetch the 
> contents of a refcursor returned from a function" it's a lot harder to 
> find the results than it could be.

Isn't what you are telling explained in Returning Cursors section on below
link:
http://www.postgresql.org/docs/9.1/static/plpgsql-cursors.html



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to