aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plperl/sql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-06-18 14:53:21 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-06-18 14:53:21 -0400
commite4300a3552b104f54ec781dd23cfcf96252ec5c1 (patch)
treecf0cc00cd23f36969e47e193835f65cfdc2bcf10 /contrib/jsonb_plperl/sql
parent1731e3741cbbf8e0b4481665d7d523bc55117f63 (diff)
downloadpostgresql-e4300a3552b104f54ec781dd23cfcf96252ec5c1.tar.gz
postgresql-e4300a3552b104f54ec781dd23cfcf96252ec5c1.zip
Avoid platform-dependent output from Data::Dumper.
Per buildfarm, the output from Data::Dumper for an IEEE infinity is platform-dependent (e.g. "inf" vs "Inf"). Just skip that one test case in the plperlu test; testing it on the plperl side is coverage enough. Fixes issue in commit 1731e3741.
Diffstat (limited to 'contrib/jsonb_plperl/sql')
-rw-r--r--contrib/jsonb_plperl/sql/jsonb_plperlu.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/jsonb_plperl/sql/jsonb_plperlu.sql b/contrib/jsonb_plperl/sql/jsonb_plperlu.sql
index 49c71fbc441..907dd4f73c8 100644
--- a/contrib/jsonb_plperl/sql/jsonb_plperlu.sql
+++ b/contrib/jsonb_plperl/sql/jsonb_plperlu.sql
@@ -61,7 +61,8 @@ $$;
SELECT roundtrip('null') is null;
SELECT roundtrip('1');
-SELECT roundtrip('1E+131071');
+-- skip because Data::Dumper produces a platform-dependent spelling of infinity
+-- SELECT roundtrip('1E+131071');
SELECT roundtrip('-1');
SELECT roundtrip('1.2');
SELECT roundtrip('-1.2');