Mistake in documentation (PG15+)

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: akdmnnakdm(at)gmail(dot)com
Subject: Mistake in documentation (PG15+)
Date: 2023-03-24 10:26:27
Message-ID: 167965358747.3349096.16285106658125853751@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/15/datatype-numeric.html
Description:

Greetings.

Just found a mistake in documentation:

https://www.postgresql.org/docs/15/datatype-numeric.html
$$
Thus, a column declared as
NUMERIC(2, -3)
will round values to the nearest thousand and can store values between
-99000 and 99000, inclusive.
$$

But the correct range here would be from -99499 to 99499:

select 99499::NUMERIC(2, -3);

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2023-03-24 12:38:19 Re: Mistake in documentation (PG15+)
Previous Message Siddharth Jain 2023-03-23 18:46:22 Re: Publishing Postgres Manual as a book