ByteBaker commented on issue #5793:
URL: https://github.com/apache/arrow-rs/issues/5793#issuecomment-2359880927

   Postgres documents the behavior as below:
   
   ```
   Beginning in PostgreSQL 15, it is allowed to declare a numeric column with a 
negative scale. Then values will be rounded to the left of the decimal point. 
The precision still represents the maximum number of non-rounded digits. Thus, 
a column declared as
   
   NUMERIC(2, -3)
   will round values to the nearest thousand and can store values between 
-99000 and 99000, inclusive
   ```
   
   Check out [the 
docs](https://www.postgresql.org/docs/current/datatype-numeric.html#:~:text=and%2099.9%2C%20inclusive.-,Beginning,-in%20PostgreSQL%2015).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to