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.94.2) (envelope-from ) id 1uEu2R-00Emkh-8P for pgsql-hackers@arkaria.postgresql.org; Tue, 13 May 2025 18:07:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uEu2O-006WBx-FE for pgsql-hackers@arkaria.postgresql.org; Tue, 13 May 2025 18:07:32 +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.94.2) (envelope-from ) id 1uEu2N-006WBo-KL for pgsql-hackers@lists.postgresql.org; Tue, 13 May 2025 18:07:32 +0000 Received: from fout-b2-smtp.messagingengine.com ([202.12.124.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uEu2I-001iYu-26 for pgsql-hackers@lists.postgresql.org; Tue, 13 May 2025 18:07:29 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 890FD1140139; Tue, 13 May 2025 14:07:23 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Tue, 13 May 2025 14:07:23 -0400 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=fm3; t=1747159643; x= 1747246043; bh=1KJR1ivRsbeRuvb+NT+L+RAXiyvi/YiHH2UGRqijJow=; b=c s77khC1p07lDejF3Rv5kvUMm/wbiC6lMKMe0IqQNSSTCTwQNLER87sx1sBC/zoBt syA7a+fbwFZM3b5CI5bqoTHKn0+mODAcEETNrSQAuq+68vWaPUwWw1XRdGL0hHR6 03bX19pOKcH3j7ss+8ax4gvp1kUMkVe+F61XiIjySeJQC7CWdRMjFCqL8Kl8X7xy SjXbLI1ZXCqQB16DIj7LCJJXV1GE/th+/ZW5Xobfa1xQTPy0wtzMa9EUAN4+Ejiq mF26n2NQ8SJFtk1w0j6SbOY0/3qEIvIRxqcUIo7S3Lo9uFslAh/Xk4C5bA2dYvhk lQO/Yemo+pluLOLHywvsQ== 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= 1747159643; x=1747246043; bh=1KJR1ivRsbeRuvb+NT+L+RAXiyvi/YiHH2U GRqijJow=; b=u8mDbqZtoXFmjFlFmJSSb7MX85Ev8mcZKs8QNFuejx3fHq7+41x 96tJFX9Yg5erQOhhE+c0H020EpIq10hbusqrdfZvRy9HOfVaj2dxCfTkF+KJOrCh eORXoj9bxUfiX6sFohc0ao+Xir/pLa/Wf4Up0UkDAuUKqpHDllBJtafgfBGuFhjH R9S9bGWPyZcgMDIZeet3MPYv00PHmgIWsQO1UXIXu8euAyMxyi3raaqCDyi74eCt neOc06YHegAEToMZL0ur6c5FaGZ1MS2Ap3QZJxakLtx8dTfjpcSVMXVILnL58CaH /HPDFFuJ64OyxxujxqbaDrrIxLGDidHsOOg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeftdegjeekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefkfhfvofesghdtmherhhdt jeenucfhrhhomhepfdffrghvihguucfgrdcuhghhvggvlhgvrhdfuceouggrvhhiugesjh hushhtrghthhgvohhrhidrtghomheqnecuggftrfgrthhtvghrnhephffhieeitdefkeev hfehtdfgieehgfffleetjeetkeeitdeugeejgeefffffkeeinecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggrvhhiugesjhhushhtrghthhgv ohhrhidrtghomhdpnhgspghrtghpthhtohepjedpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtoheprhhosggvrhhtmhhhrggrshesghhmrghilhdrtghomhdprhgtphhtthhopehf lhhorhgvnhhtshdrthhsvghlrghisehgmhgrihhlrdgtohhmpdhrtghpthhtoheprggvkh horhhothhkohhvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepthhglhesshhsshdrphhg hhdrphgrrdhushdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrd hpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopegrnhgurhgvfiesughunhhslhgr nhgvrdhnvghtpdhrtghpthhtohepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: i7c334307:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 13 May 2025 14:07:21 -0400 (EDT) Content-Type: multipart/signed; boundary="Apple-Mail=_824003EF-00F2-4FC0-A60D-F068BB5786E0"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.500.181.1.5\)) Subject: Re: PATCH: jsonpath string methods: lower, upper, initcap, l/r/btrim, replace, split_part From: "David E. Wheeler" In-Reply-To: Date: Tue, 13 May 2025 14:07:10 -0400 Cc: Florents Tselai , Alexander Korotkov , Tom Lane , pgsql-hackers , Andrew Dunstan , Peter Eisentraut Message-Id: <88A95900-E976-43BE-A73A-45AA75A11EE7@justatheory.com> References: <145894.1727298237@sss.pgh.pa.us> To: Robert Haas X-Mailer: Apple Mail (2.3826.500.181.1.5) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_824003EF-00F2-4FC0-A60D-F068BB5786E0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On May 9, 2025, at 15:50, Robert Haas wrote: > # We have the kluge of having separate "_tz" functions to support > # non-immutable datetime operations, but that way doesn't seem like > # it's going to scale well to multiple sources of mutability. >=20 > But I'm not sure I understand why it matters that there are multiple > sources of mutability here. Maybe I'm missing a piece of the puzzle > here. I read that to mean =E2=80=9Cwe=E2=80=99re not going to add another = json_path_exists_* function for every potentially immutable JSONPath = function. But I take your point that it could be generalized for *any* = mutable function. In which case maybe it should be renamed? Best, David --Apple-Mail=_824003EF-00F2-4FC0-A60D-F068BB5786E0 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+KfmbOQis6ZycGGkt9idPjIgfEFAmgjik4ACgkQkt9idPjI gfHhdQ//YKYh37AV8r90skSWJcNnl9OddrStBMptOHbz8gFldnHvH/MFfjO6Tx9T HgF2eTWlvifm+zmfKKHQfwKWoYaL/9LaU5/s4ATUJr0/Iz/P5L6i8M05LCGiwPoR 3iYzXlg02axa/+QJDWbYMsYwYpsJpcvaCxdLBGEbIAgafJ0zrbdoCVg9CNxwgTYZ R/oDinVIsaAiuejUCQN/dKhYmG527ORDSYXOEOcJlFsfOj+Jh0jOh2ZI8gIXP9/K zaZy6SbKDZtCh0EpBCE2ifWfs3S/imdv0NMOGXuXqYj06hTgmSY88ymdktYOBiUu 1RAuRGPXbPHRaQv7DesLTgZSZnpNPgU4xEBvihHdtSJNJuQJEqhxKPNl4GtpuwJ4 YmnVa+zqb4CLhOGlX7oE2DIKG5EMgw9IYfVEt8zNI4nLI32kxnInCGnb9k6neyKr G7TQIYd1cOYRFlwBN8yygAxtrO+BYmVqLiGZGD3q21SWGw4e7hMEuy++VmdzLLXm 1lcJOop70wO0vpjmf5nTeQ3QJsf7t7LvxS8z/Nrc8eO4rqHsBgA/dcFEL4zYBZ59 AVZ2BRvt3qYEwHJ+o75HSQ8FMNGXp+bSfirJHFeKe8+jTaME1qj+XI3AQ54uOZs6 yKFQx2x7B1gQ1h6nz6ZfvFfJ96/RMpjqHzGeefc5RF/vZ+kZFyg= =A9ph -----END PGP SIGNATURE----- --Apple-Mail=_824003EF-00F2-4FC0-A60D-F068BB5786E0--