Re: rounding_up - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: rounding_up
Date
Msg-id E4600155-847A-4E05-9BAF-21A0011682AB@yandex-team.ru
Whole thread Raw
In response to rounding_up  (Daria Shanina <vilensipkdm@gmail.com>)
List pgsql-hackers
Hi Daria!

> On 14 Apr 2025, at 13:24, Daria Shanina <vilensipkdm@gmail.com> wrote:
>
> when we parse and validate values (in particular, the int type), we use the rint method, but unfortunately it does
notwork according to the round rules. 

Are this concerns explainable in SQL query?

As far as I can see from your data, rint() is consistent across OSes. Can user observe any inconsistency caused by
rint()behavior in PostgreSQL? 

Thanks!


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Logical Replication of sequences
Next
From: Andrey Borodin
Date:
Subject: Re: New committer: Jacob Champion