Re: PATCH: jsonpath string methods: lower, upper, initcap, l/r/btrim, replace, split_part

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: "David E. Wheeler" <david@justatheory.com>, Florents Tselai <florents.tselai@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>, Chao Li <li.evan.chao@gmail.com>, Álvaro Herrera <alvherre@kurilemu.de>, Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter@eisentraut.org>, Robert Haas <robertmhaas@gmail.com>, Alexander Korotkov <aekorotkov@gmail.com>, jian he <jian.universality@gmail.com>
Date: 2026-03-28T10:04:52Z
Lists: pgsql-hackers

Attachments

On 2026-03-27 Fr 3:24 PM, Andrew Dunstan wrote:
>
>
> On 2026-02-01 Su 10:23 AM, David E. Wheeler wrote:
>> On Jan 31, 2026, at 11:31, David E. Wheeler<david@justatheory.com> wrote:
>>
>>>> At this point, I’d say it’s ready for committer review.
>> Me too, I’ve updated the status[0].
>>
>>    [0]:https://commitfest.postgresql.org/patch/5270/
>
>
> Patch needs rework following commit 5a2043bf713
>



I have fixed that. Some key_name entries were missing, which was an 
issue. I also removed some unused variables and some duplicate tests, 
and did some general tidying.


cheers


andrew


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

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add additional jsonpath string methods

  2. Rename jsonpath method arg tokens

  3. Fix transient memory leakage in jsonpath evaluation.

  4. Make jsonpath .string() be immutable for datetimes.