Re: jsonpath - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: jsonpath
Date
Msg-id CAPpHfduNg7WSR=A+YC8mA_c=7S+1=5Y9pUzUQxuQ9KS-mGu_bQ@mail.gmail.com
Whole thread Raw
In response to Re: jsonpath  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
List pgsql-hackers
On Fri, May 17, 2019 at 6:50 AM Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
> Couple patches improving jsonpath docs are attached.  The first one
> documents nesting level filter for .** accessor.  The second adds to
> documentation of jsonpath array subsciption usage of expressions and
> multiple slice ranges.  I'm going to push both patches if no
> objections.

Looking more on documentation I found that I'm not exactly happy on
how jsonpath description is organized.  Part of description including
accessors is given in json datatypes section [1], while part of
description including functions and operators is given in json
functions and operators section.  I think we should give the whole
jsonpath description in the single place.  So, what about moving it to
datatype section leaving functions sections with just SQL-level
functions?

1. https://www.postgresql.org/docs/devel/datatype-json.html#DATATYPE-JSONPATH
2. https://www.postgresql.org/docs/devel/functions-json.html#FUNCTIONS-SQLJSON-PATH

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: table_delete and table_update don't document snapshot parameter
Next
From: Andres Freund
Date:
Subject: Re: table_delete and table_update don't document snapshot parameter