Re: Patch bug: Fix jsonpath .* on Arrays

David E. Wheeler <david@justatheory.com>

From: "David E. Wheeler" <david@justatheory.com>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-06-07T14:23:00Z
Lists: pgsql-hackers

Attachments

On Jun 4, 2024, at 20:45, David E. Wheeler <david@justatheory.com> wrote:

> Oh FFS, unwrapping still breaks my brain. You’re right, of course. Here’s a new patch that demonstrates that behavior, since that code path is not currently represented in tests AFAICT (I would have expected to have broken it with this patch).

Rebased and moved the new tests to the end of the file.

D

Commits

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