]> granicus.if.org Git - postgresql/commitdiff
Fix typo in PL/pgsql code example.
authorRobert Haas <rhaas@postgresql.org>
Tue, 27 Jul 2010 20:02:17 +0000 (20:02 +0000)
committerRobert Haas <rhaas@postgresql.org>
Tue, 27 Jul 2010 20:02:17 +0000 (20:02 +0000)
Backpatch to 8.4.

Marc Cousin.  Review by Kevin Grittner.

doc/src/sgml/plpgsql.sgml

index 1ed946d10ef158b85f40ee3d75cfc11317074344..9d18b1594a808e146d071922717403c9d298cba4 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.154 2010/06/29 22:29:14 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.154.2.1 2010/07/27 20:02:17 rhaas Exp $ -->
 
 <chapter id="plpgsql">
   <title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
@@ -4279,7 +4279,7 @@ show errors;
 <programlisting>
 CREATE OR REPLACE FUNCTION cs_update_referrer_type_proc() RETURNS void AS $func$
 DECLARE
-    CURSOR referrer_keys IS
+    referrer_keys CURSOR IS
         SELECT * FROM cs_referrer_keys
         ORDER BY try_order;
     func_body text;