<!--
-$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">
<programlisting>
IF number = 0 THEN
result := ''zero'';
-ELSIF number < 0 THEN
- result := ''positive'';
ELSIF number > 0 THEN
+ result := ''positive'';
+ELSIF number < 0 THEN
result := ''negative'';
ELSE
-- hmm, the only other possibility is that number IS NULL