]> granicus.if.org Git - postgresql/commit
Remove jsonb_plperl test cases for Inf/NaN conversions.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 May 2018 17:21:16 +0000 (13:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 May 2018 17:21:16 +0000 (13:21 -0400)
commit6594ee280383b7548b006e7f96c8d06137fced57
tree7d446d1c153bfc81b3c3d60f5e3bd654fe243fc8
parentbcbf2346d69f6006f126044864dd9383d50d87b4
Remove jsonb_plperl test cases for Inf/NaN conversions.

It turns out that old Perl versions (before about 5.10) don't have any
very reliable way to generate Inf or NaN numeric values.  Getting around
that would require way more work than is really justified to test the
code involved, so let's just drop these new test cases.

Discussion: https://postgr.es/m/28585.1525131438@sss.pgh.pa.us
contrib/jsonb_plperl/expected/jsonb_plperl.out
contrib/jsonb_plperl/expected/jsonb_plperlu.out
contrib/jsonb_plperl/sql/jsonb_plperl.sql
contrib/jsonb_plperl/sql/jsonb_plperlu.sql