Re: PATCH: jsonpath string methods: lower, upper, initcap, l/r/btrim, replace, split_part
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Robert Haas <robertmhaas@gmail.com>,
Florents Tselai <florents.tselai@gmail.com>
Cc: Alexander Korotkov <aekorotkov@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>,
pgsql-hackers <pgsql-hackers@lists.postgresql.org>,
Andrew Dunstan <andrew@dunslane.net>
Date: 2025-05-22T20:56:25Z
Lists: pgsql-hackers
On 09.05.25 21:50, Robert Haas wrote: > I always struggle a bit to remember our policy on these issues -- to > the best of my knowledge, we haven't documented it anywhere, and I > think we probably should. I believe the way it works is that whenever > a function depends on the operating system's timestamp or locale > definitions, we decide it has to be stable, not immutable. We don't > expect those things to be updated very often, but we know sometimes > they do get updated. I don't understand how this discussion got to the conclusion that functions that depend on the locale cannot be immutable. Note that the top-level functions lower, upper, and initcap themselves are immutable.
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