Second attempt at organizing jsonpath operators and methods
authorPeter Eisentraut
Wed, 3 Jan 2024 20:56:41 +0000 (21:56 +0100)
committerPeter Eisentraut
Wed, 3 Jan 2024 20:56:41 +0000 (21:56 +0100)
commit59fd390d5e8a7e169ff8f095882e32e189f3c5bd
tree69ef820292d459b35d5292058ba9ae3e4b78975a
parent0958f8f6bf60639a1d22d78d5b49a6092b11833d
Second attempt at organizing jsonpath operators and methods

Second attempt at 283a95da923.  Since we can't reorder the enum values
of JsonPathItemType, instead reorder the switch cases where they are
used to generally follow the order of the enum values, for better
maintainability.
src/backend/utils/adt/jsonpath.c
src/backend/utils/adt/jsonpath_exec.c
src/include/utils/jsonpath.h