]> 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:25 +0000 (12:09 -0500)
commit3ccc4e9ce3a37db70d049801d09f953d476ac8dc
tree683c7a9487c5c0c80d5058bcb783bda0bf970d0f
parente12c74401bf3ad1fbeaa41a435c16227b602fb86
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