Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6KLv-0001Vt-SQ for pgsql-docs@arkaria.postgresql.org; Wed, 21 Jul 2021 22:06:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m6KLu-000867-SG for pgsql-docs@arkaria.postgresql.org; Wed, 21 Jul 2021 22:06:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6KLu-00085x-MS for pgsql-docs@lists.postgresql.org; Wed, 21 Jul 2021 22:06:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6KLs-0002zV-6L for pgsql-docs@lists.postgresql.org; Wed, 21 Jul 2021 22:06:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 16LM5jQG727568; Wed, 21 Jul 2021 18:05:47 -0400 From: Tom Lane To: mdione@grulic.org.ar cc: pgsql-docs@lists.postgresql.org Subject: Re: Exponentiation example not clear In-reply-to: <162661954599.693.13700316547731859171@wrigleys.postgresql.org> References: <162661954599.693.13700316547731859171@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Sun, 18 Jul 2021 14:45:45 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <727566.1626905145.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 21 Jul 2021 18:05:45 -0400 Message-ID: <727567.1626905145@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > Quoting the docs: > Exponentiation (unlike typical mathematical practice, multiple uses of ^ > will associate left to right) > 2 ^ 3 =E2=86=92 8 > 2 ^ 3 ^ 3 =E2=86=92 512 > You could probably add = > 2 ^ (3 ^ 3) =E2=86=92 134217728 # 2 ^27 Seems reasonable, done at https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommitdiff;h=3D7= fa1e1ef741964eeb50f33d7c72622658bb7e5f4 regards, tom lane