Re: jsonpath

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: jsonpath
Дата
Msg-id CAPpHfdsW924B1eYLqgXE0SkH0ym2Zk32CqPwUu_CH65Gk_onrA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: jsonpath  (Nikita Glukhov <n.gluhov@postgrespro.ru>)
Ответы Re: jsonpath
Re: jsonpath
Список pgsql-hackers
Hi!

On Fri, Mar 1, 2019 at 3:36 AM Nikita Glukhov <n.gluhov@postgrespro.ru> wrote:
>
> Attached 34th version of the patches.
>
> 1. Partial jsonpath support:
>    - Fixed copying of jsonb with vars jsonb_path_query() into SRF context
>    - Fixed error message for jsonpath vars
>    - Fixed file-level comment in jsonpath.c
>
> 2. Suppression of numeric errors:
>    Now error handling is done without PG_TRY/PG_CATCH using a bunch of internal
>    numeric functions with 'bool *error' flag.

Revised patches 1 and 2 are attached.  Changes are following

 * Small refactoring, comments adjustment and function renaming.  In
particular, I've removed "recursive" prefix from function names,
because it actually not that informative assuming header comment
explains that the whole jsonpath executor is recursive.  Also, I made
"Unwrap" suffix more clear.  Not it's distinguished what is unwrapped
target (UnwrapTarget) or result (UnwrapResult).  Also, now it's clear
that function doesn't always unwraps but has an option to do so
(OptUnwrap).
 * Some more cases are covered by regression tests.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Shawn Debnath
Дата:
Сообщение: Re: Refactoring the checkpointer's fsync request queue
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: pg_dump multi VALUES INSERT