Re: Rounding to even for numeric data type - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Rounding to even for numeric data type
Date
Msg-id 87vbhl1z5o.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Rounding to even for numeric data type  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Rounding to even for numeric data type  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
Tom> I think the concern over backwards compatibility here is probablyTom> overblown; but if we're sufficiently worried
aboutit, a possibleTom> compromise is to invent a numeric_rounding_mode GUC, so thatTom> people could get back the old
behaviorif they really care.
 

I only see one issue with this, but it's a nasty one: do we really want
to make all numeric operations that might do rounding stable rather than
immutable?

-- 
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Arthur Silva
Date:
Subject: Re: GSoC 2015: SP-GIST for geometrical objects
Next
From: David Rowley
Date:
Subject: Re: Performance improvement for joins where outer side is unique