aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb_util.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-03-11 11:25:23 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-03-11 11:25:26 -0400
commitb212245f96437b574b59993c772e4d9276965e49 (patch)
treeaeb183835c0f921d6f45b38d631d774fa8eeaf45 /src/backend/utils/adt/jsonb_util.c
parent08cecfaf60c484f219ba7e6ee23e9699aea4e9af (diff)
downloadpostgresql-b212245f96437b574b59993c772e4d9276965e49.tar.gz
postgresql-b212245f96437b574b59993c772e4d9276965e49.zip
In guc.c, ignore ERANGE errors from strtod().
Instead, just proceed with the infinity or zero result that it should return for overflow/underflow. This avoids a platform dependency, in that various versions of strtod are inconsistent about whether they signal ERANGE for a value that's specified as infinity. It's possible this won't be enough to remove the buildfarm failures we're seeing from ac75959cd, in which case I'll take out the infinity test case that commit added. But first let's see if we can fix it. Discussion: https://postgr.es/m/E1h33xk-0001Og-Gs@gemulon.postgresql.org
Diffstat (limited to 'src/backend/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions