On Fri, Mar 28, 2014 at 03:51:47PM -0400, Sehrope Sarkuni wrote:
> The attached patches adds an "Example Result" column to the json/jsonb
> operators table[1] that has the evaluated result of each example. I
> think this makes it much easy to reason what each operator does. The
> two patches are mutually exclusive and I recommend using the -better
> patch.
> 
> The patches only touches the json and jsonb operators table, the
> additional jsonb operators table is left without example results. All
> the results for those examples are "true" so I don't think it's
> needed. Maybe wouldn't hurt though.
> 
> [1]: http://www.postgresql.org/docs/devel/static/functions-json.html
> 
> The first file (docs-json-operator-example.diff) adds results for the
> existing operator examples.
> 
> The other file (docs-json-operator-example-better.diff) replaces some
> of the examples that return JSON objects so that the result is an
> object (not a scalar). I like this one better.

"Better" patch version applied.  Thanks.

-- 
  Bruce Momjian  <br...@momjian.us>        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

Reply via email to