Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vmDsg-0090GP-1M for pgsql-hackers@arkaria.postgresql.org; Sat, 31 Jan 2026 16:31:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vmDsd-008hem-0n for pgsql-hackers@arkaria.postgresql.org; Sat, 31 Jan 2026 16:31:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vmDsc-008hed-1w for pgsql-hackers@lists.postgresql.org; Sat, 31 Jan 2026 16:31:27 +0000 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vmDsY-00000000O2S-48KI for pgsql-hackers@lists.postgresql.org; Sat, 31 Jan 2026 16:31:26 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 97E031400048; Sat, 31 Jan 2026 11:31:20 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sat, 31 Jan 2026 11:31:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=justatheory.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1769877080; x= 1769963480; bh=jKkQv07/+mPWN6ge2ZBDqiwChiXzDZV6p/JuwNvcmuE=; b=L Vsu4DkwX5NCM2ITJbZTEOc7Q/K5Psg15IHfJyULCuh3+lF6D9OFn6V60aB0EEbnG LSxGmsFMusOfxv40deoBhu2ERnS+RX4Okms27OJau23uDeuML7IWsTzHR5+eRVw1 aU1Krfsl2L3k1gQsYV0IWZxI/ssEVKO8LLMV6wPD5Hh1seRdHX8ugC2n6RhwvTya w19dNSaLQMQii1CLvf3q0fPwwwfyL9VMX/6WRU6BfL2+8H1JmErEXOJDA9Sb2k25 8uXKRkz3Y4H6LD/B/xRdZ5ohQJTXj4yTp4JU82B3h2Hl2YotVz93F03ID5xUr2IN AczhxcYPgRSXpUneFptvQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1769877080; x=1769963480; bh=jKkQv07/+mPWN6ge2ZBDqiwChiXzDZV6p/J uwNvcmuE=; b=EVJ/aOeag1PDk5G3CL2x/bp/NS60Sq1j7JGMy7mSkrSZrAU7Yt8 0ZWmfAzNQlP3Cgl4tMXf6hVo4XfRYfeunNnfta4vIvEEr5a7+FuwESzsv14IacpC H15PcCXXeWib6NfY01ohB3t3dQB6pbXjw9jndO/DdzwTh0S9kImsuXjOAny2G13P +pNoaDjEbVny+6YduET+BkFkgeGBm+7g7mTDvOaU6YrbnmgFWDzScZKDEcvp2Zxs 3nYOo+3QPpqKNaZWjoIaQcIZDqiYt08+FKLJiWnR0NUXaP38OXUVBBb9sM2b1yxy Wy2pPjxCPxZhnfwtMBb0dcQWGGjvRF+P82g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddujedvgeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurheptggguffhjgffvefkfhfvofesghdtmherhhdtjeenucfhrhhomhepfdffrghvihgu ucfgrdcuhghhvggvlhgvrhdfuceouggrvhhiugesjhhushhtrghthhgvohhrhidrtghomh eqnecuggftrfgrthhtvghrnhepvddvhfevhfegvdffiedtkeeivdejledvtdefkeethffh vdekvedvfedvgfeiueffnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghvihgu sehjuhhsthgrthhhvghorhihrdgtohhmpdhnsggprhgtphhtthhopedutddpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtohepfhhlohhrvghnthhsrdhtshgvlhgrihesghhmrghi lhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpoh hsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehlihdrvghvrghnrdgthhgrohesghhm rghilhdrtghomhdprhgtphhtthhopegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvg dprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhprgdruhhspdhrtghpthhtohepphgv thgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhrtghpthhtoheprhhosggvrhhtmhhhrg grshesghhmrghilhdrtghomhdprhgtphhtthhopegrvghkohhrohhtkhhovhesghhmrghi lhdrtghomhdprhgtphhtthhopegrnhgurhgvfiesughunhhslhgrnhgvrdhnvght X-ME-Proxy: Feedback-ID: i7c334307:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Jan 2026 11:31:19 -0500 (EST) Content-Type: multipart/signed; boundary="Apple-Mail=_AA299301-2ED9-48E0-8EE2-7656E5F83AA5"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.4\)) Subject: Re: PATCH: jsonpath string methods: lower, upper, initcap, l/r/btrim, replace, split_part From: "David E. Wheeler" In-Reply-To: Date: Sat, 31 Jan 2026 11:31:08 -0500 Cc: pgsql-hackers , Chao Li , =?utf-8?Q?=C3=81lvaro_Herrera?= , Tom Lane , Peter Eisentraut , Robert Haas , Alexander Korotkov , Andrew Dunstan , jian he Message-Id: <931F201B-FF38-486E-BDEE-DF9692A01E1D@justatheory.com> References: <202510210803.3b3vfvygxtjl@alvherre.pgsql> <87530674-E6B6-4C97-A704-78C7E07CF01F@gmail.com> <3DC56A6A-9525-4C05-B45A-9A135A66BC34@justatheory.com> To: Florents Tselai X-Mailer: Apple Mail (2.3826.700.81.1.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_AA299301-2ED9-48E0-8EE2-7656E5F83AA5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Jan 31, 2026, at 11:23, Florents Tselai = wrote: > I think your attachment was left behind. Attaching it myself (that's = v17, right? ) checked out from your PR Bah! Yes, thank you. > With the refactoring you=E2=80=99ve done across the parser and = executor,=20 > I=E2=80=99m already tempted to slip in a few more string methods - but = I think we should leave that for a future iteration. > Functionally, it=E2=80=99d just mean adding another branch in = executeStringInternalMethod,=20 > and I=E2=80=99d rather keep this patch focused. =20 Agreed. > At this point, I=E2=80=99d say it=E2=80=99s ready for committer = review.=20 >=20 > That said, I do expect someone to raise (again) the question of=20 > how we want to handle potential future conflicts with the SQL/JSON = standard.=20 > That=E2=80=99s a broader design topic, and it=E2=80=99s going to come = up every time we extend the JSONPath language. Yup, continual challenge, part of the deal IME. > And yes, I=E2=80=99m obviously biased here - I already have two other = patches in the same spirit queued up, namely > https://commitfest.postgresql.org/patch/6429/=20 > https://commitfest.postgresql.org/patch/6436/ Ha! Message received, I=E2=80=99ll try to find some time to look at = them. D --Apple-Mail=_AA299301-2ED9-48E0-8EE2-7656E5F83AA5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd+KfmbOQis6ZycGGkt9idPjIgfEFAml+LkwACgkQkt9idPjI gfHSog//WPJMYWj1TRxBTBXISmSHdcVHQoVyAQBbnzJueULdeW07R4Gtf6LOcaam IW4aK1qJOoEo/wTlYVC4BZhe2xQeutVT6joW/tzs8TTWht3PdNuZ5T3xAY13PGg4 YXVl2h0wjKRzA1V8p/xzynjl1fq3Hlj+AX9igF7otyXYnRktB+v7+K7Qcbf+M7C1 VeQs/zgGWNBA3ajKuRKNQP1MBFeDKsip40reUyfHHINzvPtssBGHjAuUefGjAmu4 3GL/q0HqwKU3jTN8HfexeJGoHlkJOH+dpxww1VZn5X6gCWNj7MHB+6yk8kJcPRzJ 0eegqgA4zK6HYPZaOfJb26BEbErdZyXeabATIsNz3qUXxoD/1kxLJqGpu3vjQfQ/ WPoCE1XyIhal9tb4YjDX4mglaU6QRO1zw+efqnWr3PG+tR8y5RLPyzIZ43vIb9Cd EI1ob1FH+S+xns2WydIOwCZ2YsDwp97B2hlbOmHNC5/xwdeENcGSWNHXePsomOhU fY9aHbuItvhsTwmNejzEn5KK7OCbiXoEWIG9El7dipxrFfmfWTTowEPZIo3ZV3vM 4hGjynuqVifEzEyrFuoRSvoRndEBrIIIyE28eUYRAs/mX32EJMGwalOmIW92utCt gA/CTZui7ksYeacPX7rhdgMfcSOq++bC9VYbbj3+CXY5CiiiFGk= =Zope -----END PGP SIGNATURE----- --Apple-Mail=_AA299301-2ED9-48E0-8EE2-7656E5F83AA5--