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 1qhboo-003dxi-Fo for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Sep 2023 20:23:06 +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 1qhbom-000nSy-VU for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Sep 2023 20:23:04 +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 1qhblX-000jXw-En for pgsql-hackers@lists.postgresql.org; Sat, 16 Sep 2023 20:19:43 +0000 Received: from pb-smtp2.pobox.com ([64.147.108.71]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qhblT-005W0O-KL for pgsql-hackers@lists.postgresql.org; Sat, 16 Sep 2023 20:19:42 +0000 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id D46221A5043; Sat, 16 Sep 2023 16:19:35 -0400 (EDT) (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=StDaOjXu0c4UheatcVpj+Y4ssY meXc7X4sNdclJ1Q/g=; b=h4BzyiIDIgGPTAI2L9Fh9Uuz95rjvx1xNGjnVDXzzI 7HHBe9WIsBL3orsa5dQtyn/YFi6BHGYKUwi/x6e/JTTzaIPVGuYX4vDdxAPGohLT AJFiPwnfNBYLgXzt4ihjpAvJi5pwXP522PtqAc/Szfn1olGlx+ey76nfDzcIHlVj Y= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id CC8B51A5042; Sat, 16 Sep 2023 16:19:35 -0400 (EDT) (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=2016-12.pbsmtp; bh=StDaOjXu0c4UheatcVpj+Y4ssYmeXc7X4sNdclJ1Q/g=; b=YWH/5C0WROyUXBVfuuwzm3GEcGPqQhUp00Gdy5PXvCrILxHy/an7iuNQ5ACDP1Koif8uPEVBDGw6POTWmjQWp9otXS0JHXNveyw9CPUYKgEPRHPLj1k2/dIe6diTNa3G8yEDJKF4sYgzi/qdfU3XJ4v/+3ywY1F3+4Jjd0jja6o= 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 4245D1A5041; Sat, 16 Sep 2023 16:19:35 -0400 (EDT) (envelope-from david@justatheory.com) Content-Type: multipart/signed; boundary="Apple-Mail=_8F26DDE7-053A-4162-8A12-7765F776426B"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: JSON Path and GIN Questions From: "David E. Wheeler" In-Reply-To: <973d6495-cf28-4d06-7d46-758bd2615e34@xs4all.nl> Date: Sat, 16 Sep 2023 16:19:23 -0400 Cc: Erik Wienhold , pgsql-hackers@lists.postgresql.org Message-Id: References: <15DD78A5-B5C4-4332-ACFE-55723259C07F@justatheory.com> <133696180.303713.1694566807910@office.mailbox.org> <729CC2EA-9194-459C-B2A6-BC660F62E6A9@justatheory.com> <973d6495-cf28-4d06-7d46-758bd2615e34@xs4all.nl> To: Erik Rijkers X-Mailer: Apple Mail (2.3731.700.6) X-Pobox-Relay-ID: 5A80B3AE-54CE-11EE-967D-25B3960A682E-76319746!pb-smtp2.pobox.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_8F26DDE7-053A-4162-8A12-7765F776426B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 15, 2023, at 23:59, Erik Rijkers wrote: > movie @? '$ ?($.year >=3D 2023)' >=20 > I believe it is indeed not possible to have such a unequality-search = use the GIN index. It is another weakness of JSON that can be = unexpected to those not in the fullness of Knowledge of the manual. Yes, = this too would be good to explain in the doc where JSON indexes are = explained. Is that a limitation of GIN indexes in general? Or could there be = opclass improvements in the future that would enable such comparisons? Thanks, David --Apple-Mail=_8F26DDE7-053A-4162-8A12-7765F776426B 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+KfmbOQis6ZycGGkt9idPjIgfEFAmUGDcsACgkQkt9idPjI gfHclQ//ffLHOP5PftswXZZbo/fP+czzrLiHzuuaKmRFuf/zSnKaIztN2m21f7Fp K2AeZ3oYJgepaWlHfyZ2ml9JAfnyI4CZhHxLDlfzJ/XrrDh6+E0uFz7AwvodYzbr yMVRLjTc8MyA48jp/O6i1hJTcnVZp236ZVYKMG2T0IQEJ/B5LZRD7lJKV31Gklor ONynRQKfJ0npF7u1cUk5VDnFjC9QChLomPKNUjXV6LpdPf0dEDWAkcx+vtaYhWhJ 6JwKmFTsojM1ZVLY9Pt8MDafIiJTRoRzs1veYDhO5OtriG2f55WftrhdEvfH6sgV UjMkUPG+sECTJN6W5FUZS+DLRyBwpkqVVZ9S8mlNxirtqdXAhypMLT+CEJdOqWNa eYF87Z4mt0lRgobCsxzFOqYWLP6IglFH/UfJlPGsye7fsqBxByuI0Uy5eH7A8eHe nCvTWEtsvAuc5mtV9IDR4B1yytVnHyr5nh9MRm0xxCMjeDvH6ic0geRKBMiBM5Wt lOGR/QdUpQZd671srUNuGpVOT1gMFLKX7uwmP2nVfR17O/axVNpSptYTOkcz4qVp 8mcELVLsJVpb9WRwV9NABI7RJwLaMgop/P7soZAMuQ97K1L7JSrnkAGvBx2rJO4L 1xXTLg5CDw+/1iNFhIMo922qwnIZUPHJsCdKCOFD7NMuU/uWuno= =fGCj -----END PGP SIGNATURE----- --Apple-Mail=_8F26DDE7-053A-4162-8A12-7765F776426B--