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

index c32cc4158dd6599c6228d0261a9046534094bf57..b583c007120d7b994eae102088a974cd3e54804d 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -1184,9 +1184,9 @@ END IF;
 
 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