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: Marcos Pegoraro <marcos@f10.com.br>
Cc: "David E. Wheeler" <david@justatheory.com>, Florents Tselai <florents.tselai@gmail.com>, 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-04-03T11:51:46Z
Lists: pgsql-hackers
On 2026-04-02 Th 5:10 PM, Marcos Pegoraro wrote:
> Em qui., 2 de abr. de 2026 às 16:22, Andrew Dunstan
> <andrew@dunslane.net> escreveu:
>
> Committed.
>
> There is a typo here.
> <literal>jsonb_path_query('"xyxtrimyyx"', '$.btrim("xyz")')</literal>
> should be
> <literal>jsonb_path_query('"xyztrimxyz"', '$.btrim("xyz")')</literal>
>
>
Good catch, will fix.
Thanks
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 →
-
Add additional jsonpath string methods
- bd4f879a9cdd 19 (unreleased) landed
-
Rename jsonpath method arg tokens
- a35c9d524ed0 19 (unreleased) landed
-
Fix transient memory leakage in jsonpath evaluation.
- 5a2043bf7131 19 (unreleased) cited
-
Make jsonpath .string() be immutable for datetimes.
- cb599b9ddfcc 18.0 cited