Fix silly error in plpgsql example.
authorTom Lane <[email protected]>
Fri, 16 Nov 2001 00:40:11 +0000 (00:40 +0000)
committerTom Lane <[email protected]>
Fri, 16 Nov 2001 00:40:11 +0000 (00:40 +0000)
doc/src/sgml/plsql.sgml

index 53776272ea773dd240ee00f35c11f50292925bae..99f6eb75b8ec3a6e802b8425276e3eea23e508e6 100644 (file)
@@ -1184,9 +1184,9 @@ END IF;
 <programlisting>
 IF number = 0 THEN
     result := ''zero'';
-ELSIF number &lt; 0 THEN
-    result := ''positive'';
 ELSIF number &gt; 0 THEN 
+    result := ''positive'';
+ELSIF number &lt; 0 THEN
     result := ''negative'';
 ELSE
     -- hmm, the only other possibility is that number IS NULL