pgsql: Remove ambiguity for jsonb_path_match() and jsonb_path_exists()

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Remove ambiguity for jsonb_path_match() and jsonb_path_exists()
Дата
Msg-id E1h6Vj9-0006nx-4c@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Revise parse tree representation for VACUUM and ANALYZE.
Следующее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Get rid of jsonpath_gram.h and jsonpath_scanner.h