Second attempt at organizing jsonpath operators and methods

Peter Eisentraut <peter@eisentraut.org>

Commit: 59fd390d5e8a7e169ff8f095882e32e189f3c5bd
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-01-03T20:56:41Z
Releases: 17.0
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.

Files

PathChange+/−
src/backend/utils/adt/jsonpath.c modified +125 −125
src/backend/utils/adt/jsonpath_exec.c modified +166 −166
src/include/utils/jsonpath.h modified +7 −0