pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: Neil Conway <neilc@samurai.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: Two fixes for plpgsql.sgml
Date: Wed, 28 Nov 2007 10:48:18 +0100
Message-ID: <474D3962.2070709@lelarge.info> (raw)
In-Reply-To: <1196242488.10373.13.camel@goldbach>
References: <474D160D.5090908@lelarge.info>
	<1196242488.10373.13.camel@goldbach>

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



view thread (9+ messages)  latest in thread

Message-ID: <474D3962.2070709@lelarge.info>
Permalink:  ../474D3962.2070709@lelarge.info/
Also on:    postgresql.org/message-id/474D3962.2070709@lelarge.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: guillaume@lelarge.info, neilc@samurai.com
  Subject: Re: Two fixes for plpgsql.sgml
  In-Reply-To: <474D3962.2070709@lelarge.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox