Document that GET DIAGNOSTICS is affected by EXECUTE, while FOUND is
not.
-<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.144 2009/11/05 16:58:36 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.145 2009/11/10 02:09:54 momjian Exp $ -->
<chapter id="plpgsql">
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
<literal>FOUND</literal> is a local variable within each
<application>PL/pgSQL</application> function; any changes to it
- affect only the current function.
+ affect only the current function. <literal>FOUND</literal> is not
+ affected by <literal>EXECUTE</literal>, while <command>GET
+ DIAGNOSTICS</command> is effected.
</para>
</sect2>