From 54aaafe95f65c95fd9ba085826af87d778c94613 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 28 Dec 2015 12:09:00 -0500 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ ^ - exponentiation + exponentiation (associates left to right) 2.0 ^ 3.0 8 -- 2.40.0