]> granicus.if.org Git - postgresql/commitdiff
Example program lacks RETURN
authorTatsuo Ishii <ishii@postgresql.org>
Mon, 10 Sep 2001 06:30:43 +0000 (06:30 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Mon, 10 Sep 2001 06:30:43 +0000 (06:30 +0000)
doc/src/sgml/plsql.sgml

index 4e6ea830862fbbe2a4f3026842fd51ef4fbff123..b3e1bfeb2047bc7f5c36ecc06b3719a41dd71bf6 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.35 2001/05/28 19:33:24 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.36 2001/09/10 06:30:43 ishii Exp $
 -->
 
 <chapter id="plpgsql"> 
@@ -307,6 +307,8 @@ BEGIN
    END;
 
    RAISE NOTICE ''Quantity here is %'',quantity;  -- Quantity here is 50
+
+   RETURN quantity;
 END;
 ' LANGUAGE 'plpgsql';
 </programlisting>