Example program lacks RETURN
This commit is contained in:
parent
82b889a044
commit
f8f0ff6b57
@ -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">
|
<chapter id="plpgsql">
|
||||||
@ -307,6 +307,8 @@ BEGIN
|
|||||||
END;
|
END;
|
||||||
|
|
||||||
RAISE NOTICE ''Quantity here is %'',quantity; -- Quantity here is 50
|
RAISE NOTICE ''Quantity here is %'',quantity; -- Quantity here is 50
|
||||||
|
|
||||||
|
RETURN quantity;
|
||||||
END;
|
END;
|
||||||
' LANGUAGE 'plpgsql';
|
' LANGUAGE 'plpgsql';
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user