From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Second attempt at organizing jsonpath operators and methods
Date: Wed, 03 Jan 2024 21:00:36 +0000
Message-ID: <E1rL8Ls-00DKqA-4Y@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Second attempt at organizing jsonpath operators and methods
In-Reply-To: <E1rL8Ls-00DKqA-4Y@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox