Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WyClO-0007rB-1R for pgsql-docs@arkaria.postgresql.org; Sat, 21 Jun 2014 04:18:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WyClN-0004w4-6G for pgsql-docs@arkaria.postgresql.org; Sat, 21 Jun 2014 04:18:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WyClM-0004vv-8W for pgsql-docs@postgresql.org; Sat, 21 Jun 2014 04:18:48 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WyClI-0006cd-WD for pgsql-docs@postgresql.org; Sat, 21 Jun 2014 04:18:46 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WyClI-00068k-2i for pgsql-docs@postgresql.org; Sat, 21 Jun 2014 00:18:44 -0400 Date: Sat, 21 Jun 2014 00:18:44 -0400 From: Bruce Momjian To: PostgreSQL-documentation Subject: JSON doc problem Message-ID: <20140621041844.GA19251@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org There seems to be a problem in this 9.4 JSON doc paragraph in json.sgml: The technical difference between a jsonb_ops and a jsonb_path_ops GIN index is that the former creates independent index items for each key and value in the data, while the latter creates index items only for each value in the data.For this purpose, the term value includes array elements, though JSON terminology sometimes considers array elements distinct from values within objects. --> But in jsonb_path_ops, each index item is a hash of both the value and the key(s) leading to it; for example to index {"foo": {"bar": "baz"}}, a single index item would be created incorporating all three of foo, bar, What does this "But" refer to, and it is consistent with the sentences above? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs