Wrong code of GIN index - Mailing list pgsql-docs

From PG Doc comments form
Subject Wrong code of GIN index
Date
Msg-id 159548083469.622.6795362659984719107@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/datatype-json.html
Description:

https://www.postgresql.org/docs/12/datatype-json.html#JSON-INDEXING

SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] ? (@ ==
"qui")';

Should be:

SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @? '$.tags[*] ? (@ ==
"qui")';

With @@, no result.

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: initdb - creating clusters
Next
From: PG Doc comments form
Date:
Subject: typo in sentence