On Wed, May 22, 2024 at 7:14 PM Peter Eisentraut <pe...@eisentraut.org> wrote: > > On 20.05.24 02:00, jian he wrote: > >> removing parentheses means we need to rephrase this sentence? > >> So I come up with the following rephrase: > >> > >> The context_item specifies the input data to query, the > >> path_expression is a JSON path expression defining the query, > >> json_path_name is an optional name for the path_expression. The > >> optional PASSING clause can provide data values to the > >> path_expression. > > > > Based on this, write a simple patch. > > Your patch kind of messes up the indentation of the text you are > changing. Please check that.
please check attached.
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 17c44bc3..485f1822 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -18956,10 +18956,10 @@ where <replaceable class="parameter">json_table_column</replaceable> is: </term> <listitem> <para> - The input data to query (<replaceable>context_item</replaceable>), - the JSON path expression defining the query (<replaceable>path_expression</replaceable>) - with an optional name (<replaceable>json_path_name</replaceable>), and an - optional <literal>PASSING</literal> clause, which can provide data values + The <replaceable>context_item</replaceable> specifies the input data to query, + the <replaceable>path_expression</replaceable> is a JSON path expression defining the query, + <replaceable>json_path_name</replaceable> is an optional name for the <replaceable>path_expression</replaceable>. + The optional <literal>PASSING</literal> clause can provide data values to the <replaceable>path_expression</replaceable>. The result of the input data evaluation using the aforementioned elements is called the <firstterm>row pattern</firstterm>, which is used as the source for row