Re: Precision loss casting float to numeric

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: emre(at)hasegeli(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Precision loss casting float to numeric
Date: 2018-03-18 01:37:22
Message-ID: 3048.1521337042@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chapman Flack <chap(at)anastigmatix(dot)net> writes:
> I wonder whether even changing a formerly-implicit cast to explicit
> would be too much of a behavior change for existing code that expects
> the current behavior?

We did exactly that during the 8.3 cycle, and got one heck of a lot of
pushback about it, despite the existence of a lot of examples showing
that it would be a good idea. I won't say we can't do it again, but
it won't be an easy sell.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kefan Yang 2018-03-18 02:00:21 Re: [GSoC 2018] Proposal Draft
Previous Message Tom Lane 2018-03-18 01:32:36 Re: strange failure in plpgsql_control tests (on fulmar, ICC 14.0.3)