Re: More jsonpath methods: translate, split, join

Florents Tselai <florents.tselai@gmail.com>

From: Florents Tselai <florents.tselai@gmail.com>
To: Zsolt Parragi <zsolt.parragi@percona.com>
Cc: pgsql-hackers@lists.postgresql.org, Corey Huinker <corey.huinker@gmail.com>
Date: 2026-06-27T05:40:51Z
Lists: pgsql-hackers
On Fri, Jun 26, 2026 at 11:19 PM Zsolt Parragi <zsolt.parragi@percona.com>
wrote:

> +                                       binary_jbv.type = jbvBinary;
> +                                       binary_jbv.val.binary.data =
> &jb_result->root;
> +                                       binary_jbv.val.binary.len =
> VARSIZE(jb_result);
>
> Shouldn't that use VARSIZE_ANY_EXHDR or VARSIZE(jb_result) - VARHDRSZ?
>

I think you're right; let's see if Corey comes back with anything else
before I send out a new version.