diff options
author | Bruce Momjian <bruce@momjian.us> | 2009-11-10 02:09:54 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2009-11-10 02:09:54 +0000 |
commit | 6ac697f18065f41cad4e3c63a674575b711e03b6 (patch) | |
tree | a41dccdacf991b37239b313f762354994a7b4660 | |
parent | 10bcfa189bedaeaa6bfe8d7841ed3b17f23c0df4 (diff) | |
download | postgresql-6ac697f18065f41cad4e3c63a674575b711e03b6.tar.gz postgresql-6ac697f18065f41cad4e3c63a674575b711e03b6.zip |
PL/pgSQL FOUND
Document that GET DIAGNOSTICS is affected by EXECUTE, while FOUND is
not.
-rw-r--r-- | doc/src/sgml/plpgsql.sgml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 401d1216e4f..51cdf7ccc3d 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,4 +1,4 @@ -<!-- $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> @@ -1365,7 +1365,9 @@ GET DIAGNOSTICS integer_var = ROW_COUNT; <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> |