From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: akdmnnakdm@gmail.com
Subject: Mistake in documentation (PG15+)
Date: Fri, 24 Mar 2023 10:26:27 +0000
Message-ID: <167965358747.3349096.16285106658125853751@wrigleys.postgresql.org> (raw)
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);
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, akdmnnakdm@gmail.com
Subject: Re: Mistake in documentation (PG15+)
In-Reply-To: <167965358747.3349096.16285106658125853751@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox