pgsql: Second attempt at organizing jsonpath operators and methods

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Second attempt at organizing jsonpath operators and methods
Date: 2024-01-03 21:00:36
Message-ID: E1rL8Ls-00DKqA-4Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-01-03 21:01:33 Re: pgsql: Reorganise jsonpath operators and methods
Previous Message Peter Eisentraut 2024-01-03 20:06:14 pgsql: Revert "Reorganise jsonpath operators and methods"