Exponentiation example not clear

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: mdione(at)grulic(dot)org(dot)ar
Subject: Exponentiation example not clear
Date: 2021-07-18 14:45:45
Message-ID: 162661954599.693.13700316547731859171@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/functions-math.html
Description:

Quoting the docs:

Exponentiation (unlike typical mathematical practice, multiple uses of ^
will associate left to right)
2 ^ 3 → 8
2 ^ 3 ^ 3 → 512

You could probably add

2 ^ (3 ^ 3) → 134217728 # 2 ^27

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Masahiko Sawada 2021-07-19 08:27:10 Re: Update maintenance_work_mem/autovacuum_work_mem to reflect the 1GB limitation with VACUUM
Previous Message PG Doc comments form 2021-07-17 15:09:52 Another pg_dump using split and gzip for large databases