Re: More jsonpath methods: translate, split, join - Mailing list pgsql-hackers

From Florents Tselai
Subject Re: More jsonpath methods: translate, split, join
Date
Msg-id CA+v5N43D7u0a6WXCF2OJ_nqh2ODJDDPhTw2GwF0Ums5RTEfvPQ@mail.gmail.com
Whole thread
In response to Re: More jsonpath methods: translate, split, join  (Zsolt Parragi <zsolt.parragi@percona.com>)
Responses Re: More jsonpath methods: translate, split, join
List 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.  

pgsql-hackers by date:

Previous
From: "ZizhuanLiu X-MAN"
Date:
Subject: Re: Reject ADD CONSTRAINT NOT NULL if name mismatches existing domain not-null constraint
Next
From: Bharath Rupireddy
Date:
Subject: Re: Fix race condition in pg_get_publication_tables with concurrent DROP TABLE