postgresql/contrib/jsonb_plpython
Tom Lane a57d312a77 Support infinity and -infinity in the numeric data type.
Add infinities that behave the same as they do in the floating-point
data types.  Aside from any intrinsic usefulness these may have,
this closes an important gap in our ability to convert floating
values to numeric and/or replace float-based APIs with numeric.

The new values are represented by bit patterns that were formerly
not used (although old code probably would take them for NaNs).
So there shouldn't be any pg_upgrade hazard.

Patch by me, reviewed by Dean Rasheed and Andrew Gierth

Discussion: https://postgr.es/m/606717.1591924582@sss.pgh.pa.us
2020-07-22 19:19:44 -04:00
..
expected
sql
.gitignore
jsonb_plpython2u--1.0.sql
jsonb_plpython2u.control
jsonb_plpython3u--1.0.sql
jsonb_plpython3u.control
jsonb_plpython.c Support infinity and -infinity in the numeric data type. 2020-07-22 19:19:44 -04:00
jsonb_plpythonu--1.0.sql
jsonb_plpythonu.control
Makefile