public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bruce Momjian <[email protected]>
To: Sehrope Sarkuni <[email protected]>
Cc: [email protected]
Subject: Re: Patch to add results for JSON operator examples
Date: Tue, 22 Apr 2014 18:19:32 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAH7T-arp-DCZ7xtDSYPdNu2B97SVVHUFua9N9bHdRV7Ara+hOQ@mail.gmail.com>
References: <CAH7T-arp-DCZ7xtDSYPdNu2B97SVVHUFua9N9bHdRV7Ara+hOQ@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
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 <[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
view thread (2+ 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: Patch to add results for JSON operator examples
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