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 1lXJP6-0000Ja-Ei for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Apr 2021 08:00:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lXJP5-0007Fh-D3 for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Apr 2021 08:00:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXJP4-0007Fa-55 for pgsql-hackers@lists.postgresql.org; Fri, 16 Apr 2021 08:00:39 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXJP0-000529-Pe for pgsql-hackers@lists.postgresql.org; Fri, 16 Apr 2021 08:00:37 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id F07435C00FD; Fri, 16 Apr 2021 04:00:32 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 16 Apr 2021 04:00:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=MNT02IzEa3Ofec52fMRjKyxQL2x qGJzp5BGRbMjhUcM=; b=LJj5nO8fgKsL+qAFl9qxzb1857qgluyE1Ju46+87Tkv r4beFKRJLvNvL7HEl1ojhe7W9w0gtyz3+iUCJ4/1ejBslUZtpqBRlx2eJQKCbKJN SGVTv8pHIh1/ZVf0SuxbbLAHjIkYOtmZ4MsdOEHRNAYUcgffVCfFbS+jY+C1EhyI e8BZnUslREL9XV55hYs1Ent2vEJUfbSNZM4ZpZCj90gPfs1xp80BxQ7I+bKHvVcr wCYcpxl1V+0LgB0aoGb3sITRRtQ3aJpubIRV/Hn2QgzpVUxZGHS7E6g0nS0A5f1R wjDwtKUIj/ks/vDOIxam6fsFdSD8I0PV01Gg23cYzWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=MNT02I zEa3Ofec52fMRjKyxQL2xqGJzp5BGRbMjhUcM=; b=CRd67Uukju2DlZbGtCCmRV CV455hLwI+nGXIqcjgX9uwB+6cylOI99VOB870utJuKQoUFvvb1Qy1ZjvmY/Ukdp H+7XPp/JRtjgt4pVpI/V4mYawFW1A2bFnwiekL6Pn59hDkgvjlEgHUuZIyTVslG4 eVR8OeT6OnNiflrYxts9MejSjWnSxoZ/OtQTtFmPPdWKSn9HmFp5tjo/JMHh1zlz AOQoNYJegHNQLBWo53KofOkZbUrFz62VV/rK/RJtFuGdY00tfwJfSRflluMqoiBp zmhW8MDw7hB89sNNDtfJVIRd19GsgFjXt3ZJt1YQzDCJ9J6c2U+iV6ACuj4I8rqA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudelgedguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepff fhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghq uhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvg hrnhepvdegudeuhfdtueeltedtveejheehieevueeigeelteegleejleeiueeiheegvefh necukfhppeduuddurddutddvrddukedtrddukeehnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 185DE1080057; Fri, 16 Apr 2021 04:00:30 -0400 (EDT) Date: Fri, 16 Apr 2021 17:00:27 +0900 From: Michael Paquier To: Erik Rijkers Cc: "pgsql-hackers@lists.postgresql.org" Subject: Re: fix old confusing JSON example Message-ID: References: <1409005792.20330.1617451298469@webmailclassic.xs4all.nl> <1219476687.20432.1617452918468@webmailclassic.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fmINaHI+enXsV+A/" Content-Disposition: inline In-Reply-To: <1219476687.20432.1617452918468@webmailclassic.xs4all.nl> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --fmINaHI+enXsV+A/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 03, 2021 at 02:28:38PM +0200, Erik Rijkers wrote: > So, that gives information on two operators, and then gives one > example query for each. Clearly, the second example was meant to > illustrate a where-clause with the @? operator.=20 >=20 > Small change to prevent great confusion (I'll admit it took me far > too long to understand this).=20 Once one guesses the definition of the table to use with the sample data at disposal in the docs, it is easy to see that both queries should return the same result, but the second one misses the shot and is corrected as you say. So, applied. My apologies for the delay. -- Michael --fmINaHI+enXsV+A/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmB5RBsACgkQnvQgOdby QH2uEA//aYL7whWliC4e2QLU9I76fKo43SMT9yY3BrfspzYv2q/NFxPQkgov9fDk n2Qkl/mJNELwHY/PsX169NdsGDti+z/Xet3WOpC+39+KxeKRDlM/y31G2USRkL6S vmFDLi/d6lm5m/WG3JvxsVN0ROMizLHwT5TES/51BIJ75bSxbkZIGaktKFXS+DME L9IEY0v/Olok9xIThPdg0VO393Ph//8nbJwrkcxs/BxIWX9/Gd/hBtbqWVL5xWOY 0FgMIoUl1td3r+Zf9TqNATZWd59XC/lL4xxcG/13fudH9bfymitu61lBphZusK77 V5U09V63l3SZ+hp8Bfw5KaUriUzA/H1xGcRutLwHZQb7qVAYn/zhbDuqpkt5Nhye xAKNBJsBvj2dmn+OUpuk/A5MONYwAh0IY1C9p+8Ma1DsSygTAJXSU+DcNENt6AZU ePqfkSEg4rYbPX7bSostcbw19dSlbSYZNreutCCZtXT1lGOMN6y7vo953enkGnNx /J+Ig6xku7AbBOOqs83SUzM/jwizO/C6jzdpvOd7zJ3hhPcWeJwYasD2QnuS8USl NcjjOpHBoIbUwzWaJjNv4nOT/ZlPYbfdxHRDjeNX8R+XTkjkVlbm/mkNML12TvvM OJr7R4IzZAiTLJ0VdH4Azt+kvAhnceIkjG/7WLk6L1qAwKAlkCw= =fQiF -----END PGP SIGNATURE----- --fmINaHI+enXsV+A/--