git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e91cd95) | patch
Improve error reporting for jsonpath .double() method
2020年7月11日 00:20:46 +0000 (03:20 +0300)
2020年7月11日 00:20:46 +0000 (03:20 +0300)
commit 0657181167467ec5cfb5a28aacf47ca02f5f4588
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
src/backend/utils/adt/jsonpath_exec.c diff | blob | blame | history
src/test/regress/expected/jsonb_jsonpath.out diff | blob | blame | history
src/test/regress/sql/jsonb_jsonpath.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /