From: Amit Langote Date: Tue, 16 Jul 2024 05:10:58 +0000 (+0900) Subject: SQL/JSON: Fix a paragraph in JSON_TABLE documentation X-Git-Tag: REL_18_BETA1~2391 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=884d791b213d6bc55f7f9b70d951f395e3ee29bb;p=postgresql.git SQL/JSON: Fix a paragraph in JSON_TABLE documentation Using text 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 Author: Jian He Reviewed-by: Daniel Gustafsson Reviewed-by: Peter Eisentraut Discussion: https://postgr.es/m/CAB-JLwZqH3Yec6Kz-4-+pa0ZG9QJBsxjJZwYcMZYzEDR_fXnKw@mail.gmail.com --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 785886af714..3f93c61aa3c 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -19038,14 +19038,15 @@ where json_table_column is: - The input data to query (context_item), - the JSON path expression defining the query (path_expression) - with an optional name (json_path_name), and an - optional PASSING clause, which can provide data values - to the path_expression. The result of the input - data evaluation using the aforementioned elements is called the - row pattern, which is used as the source for row - values in the constructed view. + The context_item specifies the input document + to query, the path_expression is an SQL/JSON + path expression defining the query, and json_path_name + is an optional name for the path_expression. + The optional PASSING clause provides data values for + the variables mentioned in the path_expression. + The result of the input data evaluation using the aforementioned elements + is called the row pattern, which is used as the + source for row values in the constructed view.