Add a note that AND and OR are commutative. Apparently, they are not in
authorPeter Eisentraut
Mon, 4 Aug 2003 14:00:14 +0000 (14:00 +0000)
committerPeter Eisentraut
Mon, 4 Aug 2003 14:00:14 +0000 (14:00 +0000)
certain other products.

doc/src/sgml/func.sgml
doc/src/sgml/syntax.sgml

index 59d308913c3554bd2742a078084daf66ff1c12fb..f06f289d2d9fe0f36d1662eccd578cc8e915a977 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -162,6 +162,14 @@ PostgreSQL documentation
      
     
    
+
+   
+    The operators AND and OR are
+    commutative, that is, you can switch the left and right operand
+    without affecting the result.  But see 
+    linkend="syntax-express-eval"> for more information about the
+    order of evaluation of subexpressions.
+   
   
 
   
index 372aca2ca7142e507596dd03def5958d29908667..8d23a3e3548d634b83de5c00f837add19c3ac793 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -1216,7 +1216,7 @@ SELECT name, (SELECT max(pop) FROM cities WHERE cities.state = states.name)
    
   
 
-  
+   id="syntax-express-eval">
    Expression Evaluation