diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 59d308913c3..f06f289d2d9 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -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 for more information about the + order of evaluation of subexpressions. + diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index 372aca2ca71..8d23a3e3548 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1,5 +1,5 @@ @@ -1216,7 +1216,7 @@ SELECT name, (SELECT max(pop) FROM cities WHERE cities.state = states.name) - + Expression Evaluation