Re: Shouldn't jsonpath .string() Unwrap?

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: "David E. Wheeler" <david@justatheory.com>, Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Cc: Chapman Flack <jcflack@acm.org>, "David G. Johnston" <david.g.johnston@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-06-15T16:48:53Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Teach jsonpath string() to unwrap in lax mode

On 2024-06-15 Sa 10:51, David E. Wheeler wrote:
> On Jun 15, 2024, at 10:39, David E. Wheeler <david@justatheory.com> wrote:
>
>>> The changes are straightforward and look good to me. However, I have kept the existing test of an empty array as is, assuming that it is one of the valid tests. It now returns zero rows instead of an error. Your added test case covers this issue.
>> Makes sense, thank you.
> Added https://commitfest.postgresql.org/48/5039/.
>

Not really needed, I will commit shortly.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com