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 1oyGRy-0003dO-Dx for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Nov 2022 17:55:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oyGRw-0003Jn-VR for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Nov 2022 17:55:48 +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 1oyGRw-0003Je-Jv for pgsql-bugs@lists.postgresql.org; Thu, 24 Nov 2022 17:55:48 +0000 Received: from pb-smtp20.pobox.com ([173.228.157.52]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyGRt-0003AY-Oh for pgsql-bugs@lists.postgresql.org; Thu, 24 Nov 2022 17:55:47 +0000 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id DC8E41BC18E; Thu, 24 Nov 2022 12:55:41 -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=+O3ruVSliByIsQwn6t+7p2nLwD 5/tQY8WwzESYPR5Kk=; b=oEfol9XnSGIgo+6aBBKlJB2siXzJmUFXcCDErblcrT vmyl0msS3nZXcvu0OUubBf7xNFfjvcyOPxNLA0wNZCnzxHpmXxOPiKrZDRbI5eet a2HCXf8FapU0ovmP9HQiXSrSe2fxesG1yhERq45aHwQcZuRD1gGqx+4aPkxH1k8x c= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id C19D51BC18A; Thu, 24 Nov 2022 12:55:41 -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=+O3ruVSliByIsQwn6t+7p2nLwD5/tQY8WwzESYPR5Kk=; b=dxGdZPdN9hg9NxFyTT+KTgcVK/ysDJcfVl/v3uYCaO1RYW2xS9F0qmy7QLGiL7rCXm3l++YowpXQk13IxcbazwvSXmRwRvkZozS0+Iyn+hn+RoAa3KvfkYZqGcH+CjSxjoHi+DCU5TRX2sIm8QnVa/ruwrZSzOlyattXmU4qEJA= 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-smtp20.pobox.com (Postfix) with ESMTPSA id D62041BC188; Thu, 24 Nov 2022 12:55:37 -0500 (EST) (envelope-from david@justatheory.com) Content-Type: multipart/signed; boundary="Apple-Mail=_8C6E66B7-0E3C-4106-B3DE-0C4BC8888EF1"; 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: <9CDD0519-0ABD-4E2F-AE2D-7B03B7A60738@justatheory.com> Date: Thu, 24 Nov 2022 12:55:25 -0500 Cc: pgsql-bugs@lists.postgresql.org Message-Id: <1DBB0108-3DB1-43BF-BA5A-DCF64743D895@justatheory.com> References: <17694-2f7d9576ae277d64@postgresql.org> <7B406A27-7142-4F6D-976A-207B4487C7C3@justatheory.com> <9CDD0519-0ABD-4E2F-AE2D-7B03B7A60738@justatheory.com> To: "David G. Johnston" X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Pobox-Relay-ID: 340B8B22-6C21-11ED-8229-C2DA088D43B2-76319746!pb-smtp20.pobox.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_8C6E66B7-0E3C-4106-B3DE-0C4BC8888EF1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Nov 24, 2022, at 12:51, David E. Wheeler = wrote: > Ah, I see. SQL/JSON syntax gets a bit confusing relative to other = flavors. Yeah, this doesn=E2=80=99t seem right, either: david=3D# select jsonb_path_exists('{"foo": {"bar": true}}', '$path', = '{"path": "$.foo.bax"}'); jsonb_path_exists ------------------- t D --Apple-Mail=_8C6E66B7-0E3C-4106-B3DE-0C4BC8888EF1 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/sA0ACgkQkt9idPjI gfEYpA//VgP1c9KEthaJzVR4uI8jt5wnVkTeTGAmtKxuBmPArbq/CiF+ESFsi7Oc bjKrZlg5cCrKekdVL6mXBZvRA1qTjizEJni0svgqOB8q+snvY5o4FctdlWqqrOzT dQfWqW+tSNgQweFCkAxrbgN5u8HOQOs7GUKdM+yBXfy6TigsCheIrbnlzXjg2g2n vYXN2Dwl/vXJAqi36/dsI1bdSbFtefrLg5wkOY6e+ao+xNKm9CGvYgt40vkfCWGC zt+IgxZbjVhm2mWPWXVYYf1X4zbpMvDH5mIsUNxeWGmrRyYY89A3VdH0S4/is3P9 CewLLrHOeByPkvxReb9TrQP5NGpm3gUAgaYFXySCvXZEajUFkDlsEfkNXAMsSnWu eubBsStPEqM5qBtf9dqA6Dq7f4Wj+6Zw9oPwdohA0lJxOlYZ75cj7p1vmJdH37E+ Gy+WkPzRfSifuU0THT2cSlyG9SaUpLN9GJb/pIlYBFyrJW26aHQaNsWHT/HMaHij yppXwm2uFEKFvnvmlJWhSf8iHGJDZ1SGAovh5JFD5vaotQD+crYxszJ3sXxirEWN S1Yae7j/JTLScD1ODEmgSkqg/2wK35lH5fWUWBsgDgaCXzADJO2RVeujiLQIuEKq J4CVTENlNSAN8/YoYqBLwKl6U+SMYxBdd037zjdCVmYIkKzUxTs= =tImE -----END PGP SIGNATURE----- --Apple-Mail=_8C6E66B7-0E3C-4106-B3DE-0C4BC8888EF1--