@@ -17764,7 +17764,7 @@ $.* ? (@ like_regex "^\\d+$")
17764
17764
<sect5>
17765
17765
<title>Examples</title>
17766
17766
<para>
17767
- Construct a JSON the provided strings:
17767
+ Construct JSON using the provided strings:
17768
17768
</para>
17769
17769
<screen>
17770
17770
SELECT JSON('{ "a" : 123, "b": [ true, "foo" ], "a" : "bar" }');
@@ -17819,7 +17819,7 @@ ERROR: duplicate JSON object key value
17819
17819
<acronym>JSON</acronym> value.
17820
17820
For null input, <acronym>SQL</acronym> null
17821
17821
(not a <acronym>JSON</acronym> null) value is returned.
17822
- For any scalar other than a number or a Boolean the text
17822
+ For any scalar other than a number or a Boolean, the text
17823
17823
representation will be used, with escaping as necessary to make
17824
17824
it a valid <acronym>JSON</acronym> string value.
17825
17825
For details, see
@@ -17855,7 +17855,7 @@ ERROR: duplicate JSON object key value
17855
17855
<sect5>
17856
17856
<title>Examples</title>
17857
17857
<para>
17858
- Construct a JSON from the provided values various types:
17858
+ Construct JSON scalars from the provided values of various types:
17859
17859
</para>
17860
17860
<screen>
17861
17861
SELECT JSON_SCALAR(123.45);
@@ -18113,9 +18113,7 @@ WHERE f.did = 103;
18113
18113
<para>
18114
18114
The <function>JSON_OBJECTAGG</function> function aggregates the provided data
18115
18115
into a <acronym>JSON</acronym> object. You can use this function to combine values
18116
- stored in different table columns into pairs. If you specify a <command>GROUP BY</command>
18117
- or an <command>ORDER BY</command> clause, this function returns a separate JSON object
18118
- for each table row.
18116
+ stored in different table columns into pairs.
18119
18117
</para>
18120
18118
</sect5>
18121
18119
@@ -18691,7 +18689,7 @@ INSERT INTO my_films VALUES (
18691
18689
<title>Description</title>
18692
18690
18693
18691
<para>
18694
- <function>JSON_EXISTS</function> function checks whether the provided
18692
+ The <function>JSON_EXISTS</function> function checks whether the provided
18695
18693
<acronym>JSON</acronym> path expression can return any <acronym>SQL/JSON</acronym> items.
18696
18694
</para>
18697
18695
</sect5>
@@ -18804,7 +18802,7 @@ SELECT JSON_EXISTS(jsonb '{"a": [1,2,3]}', 'strict $.a[5]');
18804
18802
<title>Description</title>
18805
18803
18806
18804
<para>
18807
- <function>JSON_VALUE</function> function extracts a value from the provided
18805
+ The <function>JSON_VALUE</function> function extracts a value from the provided
18808
18806
<acronym>JSON</acronym> data and converts it to an <acronym>SQL</acronym> scalar.
18809
18807
If the specified JSON path expression returns more than one
18810
18808
<acronym>SQL/JSON</acronym> item, an error occurs. To extract
@@ -18963,7 +18961,7 @@ SELECT JSON_VALUE(jsonb '[1,2]', 'strict $[*]' DEFAULT 1 ON ERROR);
18963
18961
<title>Description</title>
18964
18962
18965
18963
<para>
18966
- <function>JSON_QUERY</function> function extracts an <acronym>SQL/JSON</acronym>
18964
+ The <function>JSON_QUERY</function> function extracts an <acronym>SQL/JSON</acronym>
18967
18965
array or object from <acronym>JSON</acronym> data. This function must return
18968
18966
a JSON string, so if the path expression returns a scalar or multiple SQL/JSON
18969
18967
items, you must wrap the result using the <literal>WITH WRAPPER</literal> clause.
@@ -19366,7 +19364,7 @@ where <replaceable class="parameter">json_table_column</replaceable> is:
19366
19364
<title>Description</title>
19367
19365
19368
19366
<para>
19369
- <function>JSON_TABLE</function> function queries <acronym>JSON</acronym> data
19367
+ The <function>JSON_TABLE</function> function queries <acronym>JSON</acronym> data
19370
19368
and presents the results as a relational view, which can be accessed as a
19371
19369
regular SQL table. You can only use <function>JSON_TABLE</function> inside the
19372
19370
<literal>FROM</literal> clause of the <literal>SELECT</literal> statement
@@ -19620,7 +19618,7 @@ where <replaceable class="parameter">json_table_column</replaceable> is:
19620
19618
<para>
19621
19619
The optional <replaceable>json_path_name</replaceable> serves as an
19622
19620
identifier of the provided <replaceable>json_path_specification</replaceable>.
19623
- The path name must be unique and cannot coincide with column names.
19621
+ The path name must be unique and distinct from the column names.
19624
19622
When using the <literal>PLAN</literal> clause, you must specify the names
19625
19623
for all the paths, including the row pattern. Each path name can appear in
19626
19624
the <literal>PLAN</literal> clause only once.
@@ -19820,7 +19818,7 @@ JSON_SERIALIZE (
19820
19818
<title>Description</title>
19821
19819
19822
19820
<para>
19823
- <function>JSON_SERIALIZE</function> function transforms a SQL/JSON value
19821
+ The <function>JSON_SERIALIZE</function> function transforms a SQL/JSON value
19824
19822
into a character or binary string.
19825
19823
</para>
19826
19824
</sect5>
@@ -19872,7 +19870,7 @@ JSON_SERIALIZE (
19872
19870
<sect5>
19873
19871
<title>Examples</title>
19874
19872
<para>
19875
- Construct a JSON the provided strings:
19873
+ Construct serialized JSON using the provided strings:
19876
19874
</para>
19877
19875
<screen>
19878
19876
SELECT JSON_SERIALIZE(JSON_SCALAR('foo'));
@@ -19961,7 +19959,7 @@ SELECT JSON_SERIALIZE('{"foo": "bar", "baz": [1, 2]}' RETURNING bytea);
19961
19959
supports the following types: <type>json</type>, <type>jsonb</type>,
19962
19960
<type>bytea</type>, and character string types (<type>text</type>, <type>char</type>,
19963
19961
<type>varchar</type>, and <type>nchar</type>).
19964
- To use other types , you must create the <literal>CAST</literal> from <type>json</type> for this type.
19962
+ To use another type , you must create a cast from <type>json</type> to that type.
19965
19963
By default, the <type>json</type> type is returned.
19966
19964
</para>
19967
19965
<para>
@@ -22392,7 +22390,7 @@ SELECT NULLIF(value, '(none)') ...
22392
22390
Collects all the key/value pairs into a JSON object. Key arguments
22393
22391
are coerced to text; value arguments are converted as per
22394
22392
<function>to_json</function> or <function>to_jsonb</function>
22395
- Values can be null, but not keys.
22393
+ Values can be null, but keys cannot .
22396
22394
</para></entry>
22397
22395
<entry>No</entry>
22398
22396
</row>
@@ -22449,7 +22447,7 @@ SELECT NULLIF(value, '(none)') ...
22449
22447
Collects all the key/value pairs into a JSON object. Key arguments
22450
22448
are coerced to text; value arguments are converted as per
22451
22449
<function>to_json</function> or <function>to_jsonb</function>.
22452
- Values can be null, but not keys.
22450
+ Values can be null, but keys cannot .
22453
22451
If there is a duplicate key an error is thrown.
22454
22452
</para></entry>
22455
22453
<entry>No</entry>
0 commit comments