public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Tom Lane <[email protected]>
Cc: PostgreSQL-documentation <[email protected]>
Subject: Re: JSON doc problem
Date: Sat, 21 Jun 2014 15:32:20 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

On Sat, Jun 21, 2014 at 11:32:40AM -0400, Tom Lane wrote:
> Bruce Momjian <[email protected]> writes:
> > What does this "But" refer to, and it is consistent with the sentences above?
> 
> Hmm.  Probably "Also" or "Moreover" would work there.  I think this might
> be leftover from a previous version of the paragraph --- I recall having
> rewritten that several times before I was satisfied with it.

Thanks.  I have adjusted it with the attached, applied patch.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Attachments:

  [text/x-diff] json.diff (1.9K, 2-json.diff)
  download | inline diff:
diff --git a/doc/src/sgml/json.sgml b/doc/src/sgml/json.sgml
new file mode 100644
index 6642618..d55a08f
*** a/doc/src/sgml/json.sgml
--- b/doc/src/sgml/json.sgml
*************** SELECT jdoc-&gt;'guid', jdoc-&gt;'name'
*** 460,470 ****
      and a <literal>jsonb_path_ops</literal> 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.<footnote><para>For this purpose, the term <quote>value</>
!     includes array elements, though JSON terminology sometimes considers
!     array elements distinct from values within objects.</para></footnote>
!     But in <literal>jsonb_path_ops</literal>, each index item is a hash
!     of both the value and the key(s) leading to it; for example to index
      <literal>{"foo": {"bar": "baz"}}</literal>, a single index item would
      be created incorporating all three of <literal>foo</>, <literal>bar</>,
      and <literal>baz</> into the hash value.  Thus a containment query
--- 460,475 ----
      and a <literal>jsonb_path_ops</literal> 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.  
!     <footnote>
!      <para>
!       For this purpose, the term <quote>value</> includes array elements,
!       though JSON terminology sometimes considers array elements distinct
!       from values within objects.
!      </para>
!     </footnote>
!     Basically, each <literal>jsonb_path_ops</literal> index item is
!     a hash of the value and the key(s) leading to it; for example to index
      <literal>{"foo": {"bar": "baz"}}</literal>, a single index item would
      be created incorporating all three of <literal>foo</>, <literal>bar</>,
      and <literal>baz</> into the hash value.  Thus a containment query


view thread (3+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: JSON doc problem
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox