]> granicus.if.org Git - postgresql/commit
Tweak new jsonb_plperl test cases to work with old Perl versions.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 May 2018 03:58:48 +0000 (23:58 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 May 2018 03:58:48 +0000 (23:58 -0400)
commit827eb4393c8a06de0c8673888a5734170e218a1d
treeee267146fa6e00d7beae4412cacd3078c641c9d7
parent23078689a9921968ac0873b017be6e7f772f10bc
Tweak new jsonb_plperl test cases to work with old Perl versions.

The previous coding here didn't actually produce Inf or NaN double
values in Perl versions 5.8.x.  Adopt a suggestion from stackoverflow.

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