pgsql: Second attempt at organizing jsonpath operators and methods

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Second attempt at organizing jsonpath operators and methods
Дата
Msg-id E1rL8Ls-00DKqA-4Y@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Revert "Reorganise jsonpath operators and methods"
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Reorganise jsonpath operators and methods