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 1uIAM4-00GyJi-PS for pgsql-hackers@arkaria.postgresql.org; Thu, 22 May 2025 18:09:21 +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 1uIAL5-006JSi-0L for pgsql-hackers@arkaria.postgresql.org; Thu, 22 May 2025 18:08:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uIAL4-006JR3-1c for pgsql-hackers@lists.postgresql.org; Thu, 22 May 2025 18:08:18 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uIAL1-000LhI-0r for pgsql-hackers@lists.postgresql.org; Thu, 22 May 2025 18:08:16 +0000 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.stl.internal (Postfix) with ESMTP id CFA2C25400F3; Thu, 22 May 2025 14:08:13 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Thu, 22 May 2025 14:08:14 -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=1747937293; x= 1748023693; bh=lbj2X+vm+HZ/LdPLpieB8Fxlvu/wUCjiA6RBuJ4ma5E=; b=F dcBqFio4GQiCT7patN69o2R6OSoJs+yuUPn6z97n8xeGurlOB2WWqDn05qHWw+Iq yUM/zbyO2pjjpzWplYNMfXj+t+fNiMszjN/T05Ss3kpJty7UlrJn3Iv3GVIWnI17 QOVe7PlSw20kXhBNcNgmUyW7y98nnwliEzBDYB3d0qNYJ7dKxBzoDP1/+H3Q8Wo9 hWPcY3tjeqWZdtmEkh1pUmnoCQEV+YsJve6c4ShG7NB6h8y9gsQQtEC5nEMcr6AY 37LgkkaxJtHVyQ2crA9AU3DA4+4tOJQO3MPCunH/oBOuoNAP+qmTEdXk6bExeuat YG5ts6QF9UM95+imEhywA== 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= 1747937293; x=1748023693; bh=lbj2X+vm+HZ/LdPLpieB8Fxlvu/wUCjiA6R BuJ4ma5E=; b=sLWZxchG0XNl7BQ+vOyOOhLQgcoopVh5YtiEAJarvt2NiVA81hB rLbfe+0gCvKrGfQuMviVURhp9eSxQcuQ+TZHCJrrJjI1TW/XfX2i6/oaiXgPQ9sa z3wYMULft3CGq63uve5xHRcP5sCAs+gX43HaLRiv973jVYbmxABAqvBwIlQGj2S7 ZTnxNBT/E4yE6BJtNUWicVj/jgYd7DAFxvFeu4y6jAOIEbCa0/xf8pXGOl+MD9xj XE8gD3H+qDHlhBwJo2oX3SAzSX8VDJXiqH6IIzBhjmgPmcvldOAiDppdjN+Ps87O tC0XMJMz8vFDVtW984G0qjRh+daSZtiCPWQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdeiieegucdltddurdegfedvrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgf nhhsuhgsshgtrhhisggvpdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttd enucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefk fhfvofesghdtmherhhdtjeenucfhrhhomhepfdffrghvihguucfgrdcuhghhvggvlhgvrh dfuceouggrvhhiugesjhhushhtrghthhgvohhrhidrtghomheqnecuggftrfgrthhtvghr nhephffhieeitdefkeevhfehtdfgieehgfffleetjeetkeeitdeugeejgeefffffkeeine cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggrvhhi ugesjhhushhtrghthhgvohhrhidrtghomhdpnhgspghrtghpthhtohepjedpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtohepfhhlohhrvghnthhsrdhtshgvlhgrihesghhmrghi lhdrtghomhdprhgtphhtthhopehrohgsvghrthhmhhgrrghssehgmhgrihhlrdgtohhmpd hrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhushdprhgtphhtthhopegrvghk ohhrohhtkhhovhesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkh gvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopegrnhgu rhgvfiesughunhhslhgrnhgvrdhnvghtpdhrtghpthhtohepphgvthgvrhesvghishgvnh htrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: i7c334307:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 May 2025 14:08:12 -0400 (EDT) Content-Type: multipart/signed; boundary="Apple-Mail=_DF95660A-D3FE-4BE9-9F88-8139A684483C"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: PATCH: jsonpath string methods: lower, upper, initcap, l/r/btrim, replace, split_part From: "David E. Wheeler" In-Reply-To: <9E77459B-0E6D-4105-A8D9-E5AED5F0AC0B@gmail.com> Date: Thu, 22 May 2025 14:08:02 -0400 Cc: Robert Haas , Tom Lane , Alexander Korotkov , pgsql-hackers , Andrew Dunstan , Peter Eisentraut Message-Id: <33601D2F-6BCA-4E6C-AC97-668A739356F8@justatheory.com> References: <145894.1727298237@sss.pgh.pa.us> <88A95900-E976-43BE-A73A-45AA75A11EE7@justatheory.com> <3682F2FE-AB57-4799-A439-7DA518E978A4@gmail.com> <6A995806-5B9C-455C-8923-53A0448893BF@justatheory.com> <1303509.1747852287@sss.pgh.pa.us> <9E77459B-0E6D-4105-A8D9-E5AED5F0AC0B@gmail.com> To: Florents Tselai X-Mailer: Apple Mail (2.3826.600.51.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_DF95660A-D3FE-4BE9-9F88-8139A684483C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On May 22, 2025, at 12:38, Florents Tselai = wrote: > In my experience timestamp related stuff from jsonb documents end up = in a generated column, > and are indexed & queried there. Have you seen this in the wild using the _tz functions? I wouldn=E2=80=99t= think they were indexable, given the volatility. D --Apple-Mail=_DF95660A-D3FE-4BE9-9F88-8139A684483C 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+KfmbOQis6ZycGGkt9idPjIgfEFAmgvaAIACgkQkt9idPjI gfG1vw/9ErmvZC8FJzsGTfAACY7rcURmnHVUdsuH32hPlvtXX6+bJzZRZjXXBWQ8 +ZxIXSwj/7eTikSzk2vxxcmNhwevbcKgxr2uwbcba1ACFDAMoRVphN2fhb/shHAt YOySaIvVcgkl5Jeh/fv/SFCWaor3Y9Kb7WcFQauI+bs7kLUo3PmiUgu4Z9+PBeFR aTz5/3vbNFhWRQb9olHnaSyy44YZ2bAsB+ORFnB3nO/iygpXjXGHC02moXY4rR3R yyGnzLin30pqwZxr72qM8k/bTEghHMzy/vj0eDxiOSPJZufwX6G3Dq5E7R3Dzeb9 8E8RTt6pj7ifi/Zr3txpSDT0ifVnvVmOgKZIt53cbsnkt2e4XKXrrbCrjoPF4yYu soW1IINX86x8yYa/URaECRCoyw6w/2LnzW7rK2VbVPn6q7Nr9MAtv8mmYuxJMNqM IM6rC66VvyGZWbxlJbQ2VJYUVkallWMFAxSk0+gnCO+FIhCa4lDaWC+Fup2zrwff ARGwctLaDUqf7sNHMu0KxdcAPOiH402YXOnpJIeYqmbk9xEVROalWBzW1uKV4Zfm 4TWZKhyiaeEfsmt6+gH8rDJYPcJUqZj1CMw3JTd0anDn1KJi/+kjZl7RM1YJ8a4Y olGnFw30rDzjbxNtK+CzW9B/CCQ7bbYdqUM15ez+qPhfoYV3MWo= =jrUM -----END PGP SIGNATURE----- --Apple-Mail=_DF95660A-D3FE-4BE9-9F88-8139A684483C--