aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb_util.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2020-07-11 03:20:46 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2020-07-11 03:21:42 +0300
commitb9a04a9bc6653183ed23532145325694fbc46002 (patch)
treed6e67b21ffc8b97c6c1d038f2b612f40f1d7c2fc /src/backend/utils/adt/jsonb_util.c
parent763a0b63a25c13ac940ce2c64b37b8446ccbf895 (diff)
downloadpostgresql-b9a04a9bc6653183ed23532145325694fbc46002.tar.gz
postgresql-b9a04a9bc6653183ed23532145325694fbc46002.zip
Improve error reporting for jsonpath .double() method
When jsonpath .double() method detects that numeric or string can't be converted to double precision, it throws an error. This commit makes these errors explicitly express the reason of failure. Discussion: https://postgr.es/m/CAPpHfdtqJtiSXkP7tOXez18NxhLUH_-75bL8%3DOce4Ki%2Bbv7V6Q%40mail.gmail.com Author: Alexander Korotkov Reviewed-by: Tom Lane Backpatch-through: 12
Diffstat (limited to 'src/backend/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions