Document the exponentiation operator as associating left to right.
authorTom Lane
Mon, 28 Dec 2015 17:09:00 +0000 (12:09 -0500)
committerTom Lane
Mon, 28 Dec 2015 17:09:10 +0000 (12:09 -0500)
Common mathematical convention is that exponentiation associates right to
left.  We aren't going to change the parser for this, but we could note
it in the operator's description.  (It's already noted in the operator
precedence/associativity table, but users might not look there.)
Per bug #13829 from Henrik Pauli.

doc/src/sgml/func.sgml

index 81c1d3fa9298f910fb0d74d47a51d769f54377c4..6b3e5adfc7624d8ec53b9a6b53d158bf978a6b55 100644 (file)
 
       
         ^ 
-       exponentiation
+       exponentiation (associates left to right)
        2.0 ^ 3.0
        8