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

From: Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: Chapman Flack <jcflack(at)acm(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Shouldn't jsonpath .string() Unwrap?
Date: 2024-06-15 14:27:48
Message-ID: CAM2+6=U=9dhg51UpL-Y+6gUgvxfkJtjFBvg7E2-J=fQZ60u3Qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Sorry, I have missed this in the original patch. I am surprised how that
happened. But thanks for catching the same and fixing it.

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.

Thanks

On Fri, Jun 14, 2024 at 9:34 PM David E. Wheeler <david(at)justatheory(dot)com>
wrote:

>
>
> > On Jun 14, 2024, at 11:25, Chapman Flack <jcflack(at)acm(dot)org> wrote:
> >
> > I would s/extepsions/exceptions/ in the added documentation. :)
>
> Bah, fixed and attached, thanks.
>
> > Offhand (as GitHub PRs aren't really The PG Way), if they were The Way,
> > I would find this one a little hard to follow, being based at a point
> > 28 unrelated commits ahead of the ref it's opened against. I suspect
> > 'master' on theory/postgres could be fast-forwarded to f1affb6 and then
> > the PR would look much more approachable.
>
> Yeah, I pushed the PR and branch before I synced master, and GitHub was
> taking a while to notice and update the PR. I fixed it with `git commit
> --all --amend --date now --reedit-message HEAD` and force-pushed (then
> fixed the typo and fixed again).
>
> D
>
>
>
>

--

*Jeevan Chalke*

*Principal, ManagerProduct Development*

enterprisedb.com <https://www.enterprisedb.com>

Attachment Content-Type Size
v3-0001-Teach-jsonpath-string-to-unwrap-in-lax-mode.patch application/octet-stream 4.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2024-06-15 14:39:06 Re: Shouldn't jsonpath .string() Unwrap?
Previous Message Robert Treat 2024-06-15 11:47:32 Re: Revive num_dead_tuples column of pg_stat_progress_vacuum