Re: Recently noticed documentation issues - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Recently noticed documentation issues
Date
Msg-id 001d01cd81b2$eb4594a0$c1d0bde0$@kapila@huawei.com
Whole thread Raw
In response to Recently noticed documentation issues  (Craig Ringer <ringerc@ringerc.id.au>)
List pgsql-hackers
From: pgsql-hackers-owner@postgresql.org
[mailto:pgsql-hackers-owner@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




pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [WIP] Performance Improvement by reducing WAL for Update Operation
Next
From: Andres Freund
Date:
Subject: Re: plperl sigfpe reset can crash the server