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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d8594d1) | patch
Support 'q' flag in jsonpath 'like_regex' predicate
2019年6月19日 19:40:58 +0000 (22:40 +0300)
2019年6月19日 19:41:57 +0000 (22:41 +0300)
commit 261a5c1928566f938cbda0f62dc16f6a2d1e871d
Support 'q' flag in jsonpath 'like_regex' predicate

SQL/JSON standard defines that jsonpath 'like_regex' predicate should support
the same set of flags as XQuery/XPath. It appears that implementation of 'q'
flag was missed. This commit fixes that.

Discussion: https://postgr.es/m/CAPpHfdtyfPsxLYiTjp5Ov8T5xGsB5t3CwE5%2B3PS%3DLLwA%2BxTJog%40mail.gmail.com
Author: Nikita Glukhov, Alexander Korotkov
src/backend/utils/adt/jsonpath.c diff | blob | blame | history
src/backend/utils/adt/jsonpath_exec.c diff | blob | blame | history
src/backend/utils/adt/jsonpath_gram.y diff | blob | blame | history
src/include/utils/jsonpath.h diff | blob | blame | history
src/test/regress/expected/jsonb_jsonpath.out diff | blob | blame | history
src/test/regress/expected/jsonpath.out diff | blob | blame | history
src/test/regress/sql/jsonb_jsonpath.sql diff | blob | blame | history
src/test/regress/sql/jsonpath.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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