David Fetter wrote:
> On Mon, Nov 09, 2009 at 09:01:14PM -0500, Bruce Momjian wrote:
> > 
> > I have applied the attached patch to document that FOUND is not affected
> > by EXECUTE, while GET DIAGNOSTICS is.
> 
> One minor nit here:
> 
> > Index: doc/src/sgml/plpgsql.sgml
> > ===================================================================
> > RCS file: /cvsroot/pgsql/doc/src/sgml/plpgsql.sgml,v
> > retrieving revision 1.143
> > diff -c -c -r1.143 plpgsql.sgml
> > *** doc/src/sgml/plpgsql.sgml       29 Sep 2009 20:05:29 -0000      1.143
> > --- doc/src/sgml/plpgsql.sgml       10 Nov 2009 01:55:33 -0000
> > ***************
> > *** 1366,1372 ****
> >   
> >        <literal>FOUND</literal> is a local variable within each
> >        <application>PL/pgSQL</application> function; any changes to it
> > !      affect only the current function.
> >       </para>
> >   
> >      </sect2>
> > --- 1366,1374 ----
> >   
> >        <literal>FOUND</literal> is a local variable within each
> >        <application>PL/pgSQL</application> function; any changes to it
> > !      affect only the current function.  <literal>FOUND</literal> is not
> > !      affected by <literal>EXECUTE</literal>, while <command>GET
> > !      DIAGNOSTICS</command> is effected.
> 
> The passive form of this phrase would be "is affected," instead of "is
> effected," or (my preference) change to an active construction like:
> 
>     <literal>EXECUTE</literal> changes the output of <command>GET
>     DIAGNOSTICS</command>, but does not change the state of
>     <literal>FOUND</literal>.

Thank you so much.  I was struggling with the phrasing myself.  Updated.

-- 
  Bruce Momjian  <br...@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

-- 
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