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:25 +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 97b0eae702bd076d4f674d2663e38791662bdafd..49087df153a3358e986f6da122c28671e6c4cf45 100644 (file)
 
       
         ^ 
-       exponentiation
+       exponentiation (associates left to right)
        2.0 ^ 3.0
        8