Re: Patch bug: Fix jsonpath .* on Arrays

David E. Wheeler <david@justatheory.com>

From: "David E. Wheeler" <david@justatheory.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Stepan Neretin <sncfmgg@gmail.com>, Степан Неретин <fenixrnd@mail.ru>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, "David G. Johnston" <david.g.johnston@gmail.com>
Date: 2024-07-08T16:09:15Z
Lists: pgsql-hackers

Attachments

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’ve moved them closer to other tests for unwrapping behavior in the attached updated and rebased v3 patch.

Best,

David

Commits

  1. Add more test coverage for jsonpath "$.*" with arrays