Re: Re: BUG #12885: The result of casting a double to an integer depends on the database version

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pedro Gimeno <pgsql-004(at)personal(dot)formauri(dot)es>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, rschaaf(at)commoninf(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Re: BUG #12885: The result of casting a double to an integer depends on the database version
Date: 2015-03-26 00:19:52
Message-ID: 87lhik4o45.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

Tom> BTW, if memory serves we also have a pretty lazy rounding
Tom> implementation for the numeric datatype. I wonder if now would be
Tom> a good time to upgrade that to be round-to-nearest-even as well.

A data point: there have been occasional complaints on IRC about the
fact that numeric rounding is not round-to-even, but obviously it's
harder to tell if anyone is relying on the current behavior.

--
Andrew (irc:RhodiumToad)

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2015-03-26 01:27:54 Re: Re: BUG #12885: The result of casting a double to an integer depends on the database version
Previous Message zjwincek 2015-03-25 23:35:41 BUG #12902: The PostgreSQL repository lacks the pg_top package.