Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyGOL-0003Q8-A2 for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Nov 2022 17:52:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oyGOJ-00007Q-Ke for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Nov 2022 17:52:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyGOJ-00007D-2k for pgsql-bugs@lists.postgresql.org; Thu, 24 Nov 2022 17:52:03 +0000 Received: from pb-smtp2.pobox.com ([64.147.108.71]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyGOG-00039R-B2 for pgsql-bugs@lists.postgresql.org; Thu, 24 Nov 2022 17:52:01 +0000 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 40547150877; Thu, 24 Nov 2022 12:51:59 -0500 (EST) (envelope-from david@justatheory.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h= content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; s=sasl; bh=N/9wiOGLaJqCrzRB7Os6QF7Zhh m9acm3b2kpF10ktjY=; b=QyvC4LHG4bE73BdGaIQ1n6YSq4/OUV6DdZvk3aNj27 SUFR0GqOQTZXyEEdd2dAFL4c/c1Rbp3H7VxPGJ4KBqZFNW3tvCUlcy5q6uAXeEMl 1kVTcgrN+gXIbz0xukZGG2ypRvzpaDs5c9Vz3nVnhFa0VXeM6+c/V9xZQzHpaKDZ w= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 37ECA150876; Thu, 24 Nov 2022 12:51:59 -0500 (EST) (envelope-from david@justatheory.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=justatheory.com; h=content-type:mime-version:subject:from:in-reply-to:date:cc:message-id:references:to; s=mesmtp; bh=N/9wiOGLaJqCrzRB7Os6QF7Zhhm9acm3b2kpF10ktjY=; b=XTmLcLzYHDseN7MZ9dO8Py5PlwS/+oVCn3zvx2dof3AQ0chKaoYDMJ3kfs9vphj9PtdPTuoMPZi0iJlfxcVT5iI/bOykhdTKmGYkIhp8zrQH82phKj62Esv3F9H0EerbqEfFIU0Lodc4coQxV/XZA8HiOr6fRGe4UH442lWVfMs= Received: from smtpclient.apple (unknown [158.222.197.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 9F8F4150875; Thu, 24 Nov 2022 12:51:58 -0500 (EST) (envelope-from david@justatheory.com) Content-Type: multipart/signed; boundary="Apple-Mail=_29D73D4D-28D6-4B43-A2C0-954721FD266A"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: BUG #17694: In JSONPath expressions, characters between leading $ and dot appear to be ignored From: "David E. Wheeler" In-Reply-To: Date: Thu, 24 Nov 2022 12:51:47 -0500 Cc: pgsql-bugs@lists.postgresql.org Message-Id: <9CDD0519-0ABD-4E2F-AE2D-7B03B7A60738@justatheory.com> References: <17694-2f7d9576ae277d64@postgresql.org> <7B406A27-7142-4F6D-976A-207B4487C7C3@justatheory.com> To: "David G. Johnston" X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Pobox-Relay-ID: B144A782-6C20-11ED-B5E8-307A8E0A682E-76319746!pb-smtp2.pobox.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_29D73D4D-28D6-4B43-A2C0-954721FD266A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Nov 24, 2022, at 12:44, David G. Johnston = wrote: > JSONPath can do/represent much more than you are thinking here. >=20 > = https://www.postgresql.org/docs/current/datatype-json.html#DATATYPE-JSONPA= TH >=20 > Note the second entry ($varname) in table 8.24 Ah, I see. SQL/JSON syntax gets a bit confusing relative to other = flavors. D --Apple-Mail=_29D73D4D-28D6-4B43-A2C0-954721FD266A 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+KfmbOQis6ZycGGkt9idPjIgfEFAmN/rzMACgkQkt9idPjI gfFW1RAAkL38+D7jhmy6Hqh4/d075Prk/ntJP4yFJqlFXQGzKSXcaB3fDz2XJIBR jtPvxm/31P9gazyWypJVx5iXrqCh1fnG1HGQWUbYuy+TQgkD1FVeZSi56NEJ7wpA B9e0WOIBRD+965huFvqSJzsz9lrWtT/9dBTqnLl1eIS0a+RDmbHpYsNKlJAEJa2p 2ml3JJ4OLjBZc4oourk4NinNXQhKRl9sTlWzcJTGorOjqJHzoq1ZuLx6dnUEEKjd npzqXHMJYLiu4xJ1MGal4nwM5c579X/V30E5lQb/ZEEuhOe7C4wKZAt2ka3RlOGj 9DTnv81MLhGopLTwtD1rrd/lMZ1P7cQSBiVD3r8WeNRWrPYNMiN1kG5A9vWuWeui VbT0NUo1j4xwrCV8GvzMmnVGjS8n8Tt8A9+o31SkIVqgpTRd5r9Y/HLDjN+UB631 mdrkGUp1+Mpim5cu2ZEhDzNIof3OFv+5hECVl4bRI/vfSsoKpegn+6E4A+qqx3C0 OZX2Tp+zBgR+Cz1ZnUFvBKmUXKX18WBKnTYJA8Ki9O+8b0WOr7zyDwYOT/ZDitP3 GHFjeoCiemygyf8Nq78ZvQZMKC/Rbncm2tYwnLNDn7Ivs9JbJwaiP49SEGcLZKfO +AgXdJwJnl7QAqgyFh99LNLtoW+GQxPkJWdQwSpERzKmmvdywso= =J82b -----END PGP SIGNATURE----- --Apple-Mail=_29D73D4D-28D6-4B43-A2C0-954721FD266A--