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 via email to