diff options
| author | Tom Lane | 2015-12-28 17:09:00 +0000 |
|---|---|---|
| committer | Tom Lane | 2015-12-28 17:09:00 +0000 |
| commit | 54aaafe95f65c95fd9ba085826af87d778c94613 (patch) | |
| tree | ab82963c0bb588bac5abed06f5658c5fcad9b541 | |
| parent | 870df2b3b77414a536d6533566628f11f8f309ec (diff) | |
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.
| -rw-r--r-- | doc/src/sgml/func.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index e08bf60b9e..d230c6073d 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -505,7 +505,7 @@ <row> <entry> <literal>^</literal> </entry> - <entry>exponentiation</entry> + <entry>exponentiation (associates left to right)</entry> <entry><literal>2.0 ^ 3.0</literal></entry> <entry><literal>8</literal></entry> </row> |
