Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 884d791

Browse files
committed
SQL/JSON: Fix a paragraph in JSON_TABLE documentation
Using <replaceable>text</replaceable> inside parantheses is not a common or good style, so rephrase a sentence to avoid that style. Also rephrase the text in that paragraph a bit while at it. Reported-by: Marcos Pegoraro <marcos@f10.com.br> Author: Jian He <jian.universality@gmail.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/CAB-JLwZqH3Yec6Kz-4-+pa0ZG9QJBsxjJZwYcMZYzEDR_fXnKw@mail.gmail.com
1 parent d2b7488 commit 884d791

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

doc/src/sgml/func.sgml

+9-8
Original file line numberDiff line numberDiff line change
@@ -19038,14 +19038,15 @@ where <replaceable class="parameter">json_table_column</replaceable> is:
1903819038
</term>
1903919039
<listitem>
1904019040
<para>
19041-
The input data to query (<replaceable>context_item</replaceable>),
19042-
the JSON path expression defining the query (<replaceable>path_expression</replaceable>)
19043-
with an optional name (<replaceable>json_path_name</replaceable>), and an
19044-
optional <literal>PASSING</literal> clause, which can provide data values
19045-
to the <replaceable>path_expression</replaceable>. The result of the input
19046-
data evaluation using the aforementioned elements is called the
19047-
<firstterm>row pattern</firstterm>, which is used as the source for row
19048-
values in the constructed view.
19041+
The <replaceable>context_item</replaceable> specifies the input document
19042+
to query, the <replaceable>path_expression</replaceable> is an SQL/JSON
19043+
path expression defining the query, and <replaceable>json_path_name</replaceable>
19044+
is an optional name for the <replaceable>path_expression</replaceable>.
19045+
The optional <literal>PASSING</literal> clause provides data values for
19046+
the variables mentioned in the <replaceable>path_expression</replaceable>.
19047+
The result of the input data evaluation using the aforementioned elements
19048+
is called the <firstterm>row pattern</firstterm>, which is used as the
19049+
source for row values in the constructed view.
1904919050
</para>
1905019051
</listitem>
1905119052
</varlistentry>

0 commit comments

Comments
 (0)