From f514bb3e2586d3896f4584b9b345f9565bef1f8a Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 30 Jul 2002 19:36:13 +0000 Subject: [PATCH] Would it be wise to have the plsql.sgml file renamed to plpgsql.sgml? All of the internal tags are of the latter. The other thing I noticed is that most of the quick examples in the file use a para and synopsis. Is there a reason we're not using ? Rod Taylor --- doc/src/sgml/filelist.sgml | 4 ++-- doc/src/sgml/{plsql.sgml => plpgsql.sgml} | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 5 deletions(-) rename doc/src/sgml/{plsql.sgml => plpgsql.sgml} (99%) diff --git a/doc/src/sgml/filelist.sgml b/doc/src/sgml/filelist.sgml index d8c5998fb84..d6fdd71561b 100644 --- a/doc/src/sgml/filelist.sgml +++ b/doc/src/sgml/filelist.sgml @@ -1,4 +1,4 @@ - + @@ -83,7 +83,7 @@ - + diff --git a/doc/src/sgml/plsql.sgml b/doc/src/sgml/plpgsql.sgml similarity index 99% rename from doc/src/sgml/plsql.sgml rename to doc/src/sgml/plpgsql.sgml index 082b77fc5b2..9a58e6b8e3b 100644 --- a/doc/src/sgml/plsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,5 +1,5 @@ @@ -978,13 +978,15 @@ EXECUTE query-string; An example: - + + EXECUTE ''UPDATE tbl SET '' || quote_ident(fieldname) || '' = '' || quote_literal(newvalue) || '' WHERE ...''; - + + @@ -1059,6 +1061,13 @@ GET DIAGNOSTICS variable = itemSQL query. Note that RESULT_OID is only useful after an INSERT query. + + + + GET DIAGNOSTICS var_integer = ROW_COUNT; + + +