From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Remove ambiguity for jsonb_path_match() and jsonb_path_exists() |
Date: | 2019-03-20 07:33:31 |
Message-ID: | E1h6Vj9-0006nx-4c@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Remove ambiguity for jsonb_path_match() and jsonb_path_exists()
There are 2-arguments and 4-arguments versions of jsonb_path_match() and
jsonb_path_exists(). But 4-arguments versions have optional 3rd and 4th
arguments, that leads to ambiguity. In the same time 2-arguments versions are
needed only for @@ and @? operators. So, rename 2-arguments versions to
remove the ambiguity.
Catversion is bumped.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/641fde25233ef3ecc3b8101fe287eea9fceba6fd
Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_operator.dat | 4 ++--
src/include/catalog/pg_proc.dat | 4 ++--
src/test/regress/expected/jsonb_jsonpath.out | 12 ++++++++++++
src/test/regress/sql/jsonb_jsonpath.sql | 2 ++
5 files changed, 19 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2019-03-20 08:13:51 | pgsql: Get rid of jsonpath_gram.h and jsonpath_scanner.h |
Previous Message | Michael Paquier | 2019-03-19 23:39:25 | Re: pgsql: Revise parse tree representation for VACUUM and ANALYZE. |