Mistake in documentation (PG15+)

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Mistake in documentation (PG15+)
Дата
Msg-id 167965358747.3349096.16285106658125853751@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Mistake in documentation (PG15+)  (Daniel Gustafsson <daniel@yesql.se>)
Список 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);

В списке pgsql-docs по дате отправления:

Предыдущее
От: Siddharth Jain
Дата:
Сообщение: Re: Publishing Postgres Manual as a book
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Mistake in documentation (PG15+)