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.1525131...@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/827eb4393c8a06de0c8673888a5734170e218a1d Modified Files -------------- contrib/jsonb_plperl/expected/jsonb_plperl.out | 4 ++-- contrib/jsonb_plperl/expected/jsonb_plperlu.out | 4 ++-- contrib/jsonb_plperl/sql/jsonb_plperl.sql | 4 ++-- contrib/jsonb_plperl/sql/jsonb_plperlu.sql | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-)