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

From: David E(dot) Wheeler <david(at)justatheory(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>
Subject: Re: Shouldn't jsonpath .string() Unwrap?
Date: 2024-06-13 22:45:21
Message-ID: 4780A79D-5FB7-4480-8CB5-96B137411B1A@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jun 13, 2024, at 3:53 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

> Hmm. You might be right. Many of these items have this code, but the string() branch does not:
> if (unwrap && JsonbType(jb) == jbvArray)
> return executeItemUnwrapTargetArray(cxt, jsp, jb, found,
> false);

Exactly, would be pretty easy to add. I can work up a patch this weekend.

D

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-06-13 23:05:09 Re: CI and test improvements
Previous Message Jelte Fennema-Nio 2024-06-13 22:03:12 Re: RFC: adding pytest as a supported test framework