pgsql: Second attempt at organizing jsonpath operators and methods - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Second attempt at organizing jsonpath operators and methods
Date
Msg-id E1rL8Ls-00DKqA-4Y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/59fd390d5e8a7e169ff8f095882e32e189f3c5bd

Modified Files
--------------
src/backend/utils/adt/jsonpath.c      | 250 ++++++++++++-------------
src/backend/utils/adt/jsonpath_exec.c | 332 +++++++++++++++++-----------------
src/include/utils/jsonpath.h          |   7 +
3 files changed, 298 insertions(+), 291 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Revert "Reorganise jsonpath operators and methods"
Next
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Reorganise jsonpath operators and methods