pgsql: Revert "Reorganise jsonpath operators and methods"

Started by Peter Eisentrautover 2 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Revert "Reorganise jsonpath operators and methods"

This reverts commit 283a95da923605c1cc148155db2d865d0801b419.

The reordering of JsonPathItemType affects the binary on-disk
compatibility of the jsonpath type, so we must not change it. Revert
for now and consider.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0958f8f6bf60639a1d22d78d5b49a6092b11833d

Modified Files
--------------
doc/src/sgml/func.sgml | 24 +++++-----
src/backend/utils/adt/jsonpath.c | 82 +++++++++++++++++------------------
src/backend/utils/adt/jsonpath_exec.c | 78 ++++++++++++++++-----------------
src/backend/utils/adt/jsonpath_gram.y | 22 +++++-----
src/include/utils/jsonpath.h | 25 ++++-------
5 files changed, 112 insertions(+), 119 deletions(-)