Skip site navigation (1) Skip section navigation (2)

Re: Two fixes for plpgsql.sgml

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Two fixes for plpgsql.sgml
Date: 2007-11-28 09:48:18
Message-ID: 474D3962.2070709@lelarge.info (view raw or flat)
Thread:
Lists: pgsql-docs
Neil Conway a écrit :
> On Wed, 2007-11-28 at 08:17 +0100, Guillaume Lelarge wrote:
>> This patch fixes two issues on plpgsql.sgml.
> 
> The first hunk seems like a regression to me: AFAICS the current
> phrasing is what is intended.
> 
> *** 133,139 ****
>   
>       <para>
>        <application>PL/pgSQL</> functions can also be declared to return
> !      a <quote>set</>, or table, of any data type they can return a
> single
>        instance of.  Such a function generates its output by executing
>        <command>RETURN NEXT</> for each desired element of the result
>        set, or by using <command>RETURN QUERY</> to output the result of
> --- 133,139 ----
>   
>       <para>
>        <application>PL/pgSQL</> functions can also be declared to return
> !      a <quote>set</>, or table, or any data type they can return a
> single
>        instance of.  Such a function generates its output by executing
>        <command>RETURN NEXT</> for each desired element of the result
>        set, or by using <command>RETURN QUERY</> to output the result of
> 

That's why I said that it needs to be reviewed carefully :) It just
means I didn't understand the sentence. Can you explain why the last
part is needed ? (the part that starts with "of any data type...")

Thanks.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

In response to

Responses

pgsql-docs by date

Next:From: Guillaume LelargeDate: 2007-11-28 10:07:04
Subject: Something I don't understand on chkpass.sgml
Previous:From: Neil ConwayDate: 2007-11-28 09:34:48
Subject: Re: Two fixes for plpgsql.sgml

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group