Re: [DOCS] Two fixes for plpgsql.sgml

2007-11-28 Thread Guillaume Lelarge
Bruce Momjian a écrit : > Alvaro Herrera wrote: >>[...] >> The point of "any datatype they can return a single instance of" is that >> this can be a set of scalar values (e.g. "RETURNS SETOF int") or of a >> complex type ("RETURNS SETOF table"), or anything else they can return a >> single instance

Re: [DOCS] Two fixes for plpgsql.sgml

2007-11-28 Thread Bruce Momjian
Alvaro Herrera wrote: > Bruce Momjian wrote: > > > --- 132,142 > > > > > > > > ! PL/pgSQL functions can also be declared to return a > > ! group of values, either as a single row, or a group of rows, like a > > ! table. Such a function generates its output by

Re: [DOCS] Two fixes for plpgsql.sgml

2007-11-28 Thread Alvaro Herrera
Bruce Momjian wrote: > --- 132,142 > > > > ! PL/pgSQL functions can also be declared to return a > ! group of values, either as a single row, or a group of rows, like a > ! table. Such a function generates its output by executing > ! RETURN NEXT for each

Re: [DOCS] Two fixes for plpgsql.sgml

2007-11-28 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Agreed. I couldn't find any value to that phrase and couldn't find better > > wording, so I removed it. Patch attached and applied. > > This is not an improvement. > > The point of the original wording is that you have to say >

Re: [DOCS] Two fixes for plpgsql.sgml

2007-11-28 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Agreed. I couldn't find any value to that phrase and couldn't find better > wording, so I removed it. Patch attached and applied. This is not an improvement. The point of the original wording is that you have to say RETURNS SETOF sometype you c

Re: [DOCS] Two fixes for plpgsql.sgml

2007-11-28 Thread Bruce Momjian
Guillaume Lelarge wrote: > 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 >

Re: [DOCS] Two fixes for plpgsql.sgml

2007-11-28 Thread Guillaume Lelarge
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 > > >PL/pgSQL functions c

Re: [DOCS] Two fixes for plpgsql.sgml

2007-11-28 Thread Neil Conway
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 PL/pgSQL functions can also be declared to return ! a se

[DOCS] Two fixes for plpgsql.sgml

2007-11-27 Thread Guillaume Lelarge
Hi, This patch fixes two issues on plpgsql.sgml. Please review them carefully, at least the second one. Thanks. Regards. PS : this patch should be in context diff if my .cvsrc is correctly set up... at least, it doesn't look like my previous patch :) -- Guillaume. http://www.postgresqlfr.org