Add note that a for loop where the lower bound is greater than the upper
authorPeter Eisentraut
Wed, 3 Sep 2003 22:17:07 +0000 (22:17 +0000)
committerPeter Eisentraut
Wed, 3 Sep 2003 22:17:07 +0000 (22:17 +0000)
bound is valid but does nothing.

suggested by Richard Huxton 

doc/src/sgml/plpgsql.sgml

index 4cf4d6c31aafbe15621a876021a023e31f490976..e9573736ab794c5a974001775495f689735cc5e3 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -1669,6 +1669,11 @@ FOR i IN REVERSE 10..1 LOOP
 END LOOP;
 
        
+
+       
+        If the lower bound is greater than the upper bound, the loop body is not
+        executed at all, but no error is raised.
+