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 1lYvji-0006v3-Qt for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Apr 2021 19:08:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lYvjC-0003K5-9K for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Apr 2021 19:08:06 +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 1lYvjB-0003GT-SH for pgsql-hackers@lists.postgresql.org; Tue, 20 Apr 2021 19:08:06 +0000 Received: from lb3-smtp-cloud9.xs4all.net ([194.109.24.30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lYvj4-0000k3-3e for pgsql-hackers@lists.postgresql.org; Tue, 20 Apr 2021 19:08:04 +0000 Received: from ox-appsuite2.xs4all.net ([194.109.29.135]) by smtp-cloud9.xs4all.net with ESMTPSA id Yvizlbn6ivTEDYvizlRvBU; Tue, 20 Apr 2021 21:07:53 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s2; t=1618945673; bh=JgofTfgHGjL+VSAEiiQOXx26P0YVIZuMibBupszwQ9Q=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type:From: Subject; b=jPH2YUxg/YnUknGSfWsHyLXoZxFc+S7ClpUuY2RfeAze9U0MrpVRVHWJZzVxz5Hbo bTh2SRx7POnndEoTXDngf588VOfrq2KYp1Q+oxiidoRZJ7RxqeMJWvPIsZILto+6ZN qIkdFw/Mke38cNu+UgamO3zBXxgN6yJW6lkjDkTPmSEO2wnvTOVJSir4It3QeL1uWh bk5i+n5sIyQZ/1zHEgxpbIST1I8058d9ORhHogcEhfdJZTvkLplbKi6++WNK6rcYw6 yj9eQ24D99cj4auTEfCRWBvbxRziJenjsevBBgVvizrJooMDD5zjU3E1kPa6w0lBlL txpYJ/8m0Vjlg== Date: Tue, 20 Apr 2021 21:07:52 +0200 (CEST) From: Erik Rijkers To: Michael Paquier Cc: "pgsql-hackers@lists.postgresql.org" Message-ID: <1262514661.622692.1618945673016@webmailclassic.xs4all.nl> In-Reply-To: References: <1409005792.20330.1617451298469@webmailclassic.xs4all.nl> <1219476687.20432.1617452918468@webmailclassic.xs4all.nl> Subject: Re: fix old confusing JSON example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.5-Rev8 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfL1Gwx+jrAkcjP2ZkboxZsBOY6mCqI11L+5PMs1UxVoEtqeOX39UgrXEh+YqWKTQeaTpYTLhK/3Ti0RywG983daDPjbIxMyHZQdG+IvOpL4cPNFIIcJq hu/770pP7B2aVRuB/KHFLcc5BScF1EFwHL55skUI6U7JOT6OgGTBAdSWI/S7KgbeRhJQ7JoE/kNqCftfA8Nx9cosWsbmgHwWfIqbbynO/MMEDX75oOZF1sFm MRLagnPd+kIqzQyZLFKwlg== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 2021.04.16. 10:00 Michael Paquier wrote: > 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. > > > > Small change to prevent great confusion (I'll admit it took me far > > too long to understand this). > > 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. Great, thank you. I just happened to use the website-documentation and noticed that there the change is not done: it still has the erroneous line, in the docs of 13 (current), and 12; the docs of 14devel are apparently updated. That makes me wonder: is there a regular html-docs-update (dayly? weekly?) of doc-bugs of this kind in the website-docs of current and earlier releases? To be clear, I am talking about the lines below: 'GIN index supports @@ and @? operators' on pages https://www.postgresql.org/docs/13/datatype-json.html https://www.postgresql.org/docs/12/datatype-json.html where the change that was pushed was to correct the second example from @@ to @? thanks, Erik Rijkers > > My apologies for the delay. > -- > Michael