Re: Conversion error of floating point numbers in pl/pgsql

From: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Conversion error of floating point numbers in pl/pgsql
Date: 2015-11-17 00:30:04
Message-ID: 20151117.093004.216380851.horiguchi.kyotaro@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

At Mon, 16 Nov 2015 09:49:54 -0500, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote in <32508(dot)1447685394(at)sss(dot)pgh(dot)pa(dot)us>
> Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> writes:
> > Hello. I found that 9.5 has an undocumented difference from 9.4
> > in type cast in pl/pgsql and I think it might better be mentioned
> > as a change of behavior in release notes.
>
> > Whether do you think it is worth mentioning or not in release notes?
>
> This seems unnecessarily alarmist to me. Anybody who's in the habit
> of converting between float4 and float8 will already be used to this
> behavior, because it is what has always happened everywhere else in
> the system.

I guess not a small number of users don't have an enough insight
to antcipate such influence, but I'll agree to ommit this if such
a kind of users are not in target of the release notes.

regards,

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2015-11-17 00:49:56 Re: proposal: function parse_ident
Previous Message Michael Paquier 2015-11-17 00:02:14 Re: Proposing COPY .. WITH PERMISSIVE