mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-19 00:23:24 +02: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> |
||
---|---|---|
.. | ||
jsonb_plperl.out | ||
jsonb_plperlu.out |