summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb_util.c
diff options
context:
space:
mode:
authorAlexander Korotkov2020-07-11 00:20:46 +0000
committerAlexander Korotkov2020-07-11 00:20:46 +0000
commit0657181167467ec5cfb5a28aacf47ca02f5f4588 (patch)
tree6dfd79c50bf090988294013f2b52b45bf365384b /src/backend/utils/adt/jsonb_util.c
parente91cd951b1114a009a0256f211a41d0ec873b2fc (diff)
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