diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-07-20 19:44:41 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-07-20 19:44:45 -0400 |
commit | 4fb6aeb4f6e807c8ce3e140d2d2281f50eb6fb1a (patch) | |
tree | c2045d6b04b1ac5b0190cbd46f280029e8ca78ad /contrib/jsonb_plperl | |
parent | 6ca7cd89a2d1998b16e8168dda62d43a9e0fdaff (diff) | |
download | postgresql-4fb6aeb4f6e807c8ce3e140d2d2281f50eb6fb1a.tar.gz postgresql-4fb6aeb4f6e807c8ce3e140d2d2281f50eb6fb1a.zip |
Make floating-point "NaN / 0" return NaN instead of raising an error.
This is more consistent with the IEEE 754 spec and our treatment of
NaNs elsewhere; in particular, the case has always acted that way in
"numeric" arithmetic.
Noted by Dean Rasheed.
Discussion: https://postgr.es/m/3421746.1594927785@sss.pgh.pa.us
Diffstat (limited to 'contrib/jsonb_plperl')
0 files changed, 0 insertions, 0 deletions