Re: Patch bug: Fix jsonpath .* on Arrays

Stepan Neretin <sncfmgg@gmail.com>

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

> 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
>
>
>

Hi! Looks good to me now! Please, register a patch in CF.
Best regards, Stepan Neretin.

Commits

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