]> granicus.if.org Git - postgresql/commit
Document the exponentiation operator as associating left to right.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 28 Dec 2015 17:09:00 +0000 (12:09 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 28 Dec 2015 17:09:32 +0000 (12:09 -0500)
commit7adbde26ab638e0ce1154338d9b6e7801261d0d8
treea96eea4c509d6acd02eccec6f215a46eb67997f9
parent4fb9e6109a40a084eef102f4b6a827a01d69dbb8
Document the exponentiation operator as associating left to right.

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