mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
jsonb uses numeric internally, and numeric can store NaN, but that is not allowed by jsonb on input, so we shouldn't store it. Also prevent infinity to get a consistent error message. (numeric input would reject infinity anyway.) Reported-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> |
||
|---|---|---|
| .. | ||
| expected | ||
| sql | ||
| .gitignore | ||
| jsonb_plperl--1.0.sql | ||
| jsonb_plperl.c | ||
| jsonb_plperl.control | ||
| jsonb_plperlu--1.0.sql | ||
| jsonb_plperlu.control | ||
| Makefile | ||