Re: Patch to add results for JSON operator examples

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Patch to add results for JSON operator examples
Дата
Msg-id 20140422221932.GJ10046@momjian.us
обсуждение исходный текст
Ответ на Patch to add results for JSON operator examples  (Sehrope Sarkuni <sehrope@jackdb.com>)
Список pgsql-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  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


В списке pgsql-docs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: archive_command vs recovery_command paths
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [doc] EXPLAIN CREATE MATERIALIZED VIEW AS?