Re: Patch bug: Fix jsonpath .* on Arrays

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Patch bug: Fix jsonpath .* on Arrays
Дата
Msg-id A8CDEEF9-DBA9-46DD-8055-9840EBE4AB65@justatheory.com
обсуждение исходный текст
Ответ на Re: Patch bug: Fix jsonpath .* on Arrays  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Jun 27, 2024, at 04:17, Michael Paquier <michael@paquier.xyz> wrote:

> The tests of jsonb_jsonpath.sql include a lot of patterns for @? and
> jsonb_path_query with the lax and strict modes, so shouldn't these
> additions be grouped closer to the existing tests rather than added at
> the end of the file?

I think you could argue that they should go with other tests for array unwrapping, though it’s kind of mixed
throughout.But that’s more the bit I was testing; almost all the tests are lax, and it’s less the strict behavior to
testhere than the explicit behavior of unwrapping in lax mode. 

But ultimately I don’t care where they go, just that we have them.

D




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

Предыдущее
От: Marthin Laubscher
Дата:
Сообщение: Custom type's modifiers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Custom type's modifiers