Commit 7e422ac0 authored by Tom Lane's avatar Tom Lane

Fix silly error in plpgsql example.

parent fa09b6d7
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.48 2001/11/15 23:32:39 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.49 2001/11/16 00:40:11 tgl Exp $
--> -->
<chapter id="plpgsql"> <chapter id="plpgsql">
...@@ -1184,9 +1184,9 @@ END IF; ...@@ -1184,9 +1184,9 @@ END IF;
<programlisting> <programlisting>
IF number = 0 THEN IF number = 0 THEN
result := ''zero''; result := ''zero'';
ELSIF number &lt; 0 THEN
result := ''positive'';
ELSIF number &gt; 0 THEN ELSIF number &gt; 0 THEN
result := ''positive'';
ELSIF number &lt; 0 THEN
result := ''negative''; result := ''negative'';
ELSE ELSE
-- hmm, the only other possibility is that number IS NULL -- hmm, the only other possibility is that number IS NULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment