@@ -16928,8 +16928,8 @@ $ ? (@ like_regex "^\\d+$")
16928
16928
<refsynopsisdiv>
16929
16929
<synopsis>
16930
16930
JSON_OBJECT (
16931
- [ { <replaceable class=" parameter" >key_expression</replaceable > { VALUE | ':' }
16932
- <replaceable class=" parameter" >value_expression</replaceable > [ FORMAT JSON [ ENCODING UTF8 ] ] }[, ...] ]
16931
+ [ { <parameter>key_expression</parameter > { VALUE | ':' }
16932
+ <parameter>value_expression</parameter > [ FORMAT JSON [ ENCODING UTF8 ] ] }[, ...] ]
16933
16933
[ { NULL | ABSENT } ON NULL ]
16934
16934
[ { WITH | WITHOUT } UNIQUE [ KEYS ] ]
16935
16935
[ RETURNING <replaceable class="parameter">data_type</replaceable> [ FORMAT JSON [ ENCODING UTF8 ] ]
@@ -16953,8 +16953,8 @@ JSON_OBJECT (
16953
16953
16954
16954
<varlistentry>
16955
16955
<term>
16956
- <literal><replaceable class=" parameter" >key_expression</replaceable > { VALUE | ':' }
16957
- <replaceable class=" parameter" >value_expression</replaceable > [ FORMAT JSON [ ENCODING UTF8 ] ]</literal>
16956
+ <literal><parameter>key_expression</parameter > { VALUE | ':' }
16957
+ <parameter>value_expression</parameter > [ FORMAT JSON [ ENCODING UTF8 ] ]</literal>
16958
16958
</term>
16959
16959
<listitem>
16960
16960
<para>
@@ -16963,27 +16963,30 @@ JSON_OBJECT (
16963
16963
<itemizedlist>
16964
16964
<listitem>
16965
16965
<para>
16966
- <replaceable class="parameter">key_expression</replaceable> is a scalar expression defining the
16967
- <acronym>JSON</acronym> key, which is implicitly converted
16968
- to the <type>text</type> type.
16969
- The provided expression cannot be <literal>NULL</literal> or belong to a type that has a cast to <type>json</type>.
16966
+ <parameter>key_expression</parameter> is a scalar expression
16967
+ defining the <acronym>JSON</acronym> key, which is implicitly
16968
+ converted to the <type>text</type> type.
16969
+ The provided expression cannot be <literal>NULL</literal> or
16970
+ belong to a type that has a cast to <type>json</type>.
16970
16971
</para>
16971
16972
</listitem>
16972
16973
<listitem>
16973
16974
<para>
16974
- <replaceable class=" parameter" >value_expression</replaceable > is an expression
16975
+ <parameter>value_expression</parameter > is an expression
16975
16976
that provides the input for the <acronym>JSON</acronym> value.
16976
16977
</para>
16977
16978
</listitem>
16978
16979
<listitem>
16979
16980
<para>
16980
- The optional <literal>FORMAT</literal> clause is provided to conform to the SQL/JSON standard.
16981
+ The optional <literal>FORMAT</literal> clause is provided to
16982
+ conform to the SQL/JSON standard.
16981
16983
</para>
16982
16984
</listitem>
16983
16985
</itemizedlist>
16984
16986
<para>
16985
- You must use a colon or the <literal>VALUE</literal> keyword as a delimiter between
16986
- the key and the value. Multiple key/value pairs are separated by commas.
16987
+ You must use a colon or the <literal>VALUE</literal> keyword as a
16988
+ delimiter between the key and the value. Multiple key/value pairs are
16989
+ separated by commas.
16987
16990
</para>
16988
16991
</listitem>
16989
16992
</varlistentry>
@@ -17140,7 +17143,7 @@ WHERE f.did = 103;
17140
17143
17141
17144
<refsynopsisdiv>
17142
17145
<synopsis>JSON_OBJECTAGG (
17143
- [ { <replaceable class=" parameter" >key_expression</replaceable > { VALUE | ':' } <replaceable class=" parameter" >value_expression</replaceable > } ]
17146
+ [ { <parameter>key_expression</parameter > { VALUE | ':' } <parameter>value_expression</parameter > } ]
17144
17147
[ { NULL | ABSENT } ON NULL ]
17145
17148
[ { WITH | WITHOUT } UNIQUE [ KEYS ] ]
17146
17149
[ RETURNING <replaceable class="parameter">data_type</replaceable> [ FORMAT JSON [ ENCODING UTF8 ] ]
@@ -17167,7 +17170,7 @@ WHERE f.did = 103;
17167
17170
<variablelist>
17168
17171
<varlistentry>
17169
17172
<term>
17170
- <literal><replaceable class=" parameter" >key_expression</replaceable > { VALUE | ':' } <replaceable class=" parameter" >value_expression</replaceable ></literal>
17173
+ <literal><parameter>key_expression</parameter > { VALUE | ':' } <parameter>value_expression</parameter ></literal>
17171
17174
</term>
17172
17175
<listitem>
17173
17176
@@ -17177,16 +17180,18 @@ WHERE f.did = 103;
17177
17180
<itemizedlist>
17178
17181
<listitem>
17179
17182
<para>
17180
- <replaceable class="parameter">key_expression</replaceable> is a scalar expression defining the
17181
- <acronym>JSON</acronym> key, which is implicitly converted
17182
- to the <type>text</type> type.
17183
- The provided expression cannot be <literal>NULL</literal> or belong to a type that has a cast to <type>json</type>.
17183
+ <parameter>key_expression</parameter> is a scalar expression
17184
+ defining the <acronym>JSON</acronym> key, which is implicitly
17185
+ converted to the <type>text</type> type.
17186
+ The provided expression cannot be <literal>NULL</literal> or
17187
+ belong to a type that has a cast to <type>json</type>.
17184
17188
</para>
17185
17189
</listitem>
17186
17190
<listitem>
17187
17191
<para>
17188
- <replaceable class="parameter">value_expression</replaceable> is an expression
17189
- that provides the input for the <acronym>JSON</acronym> value preceded by its type.
17192
+ <parameter>value_expression</parameter> is an expression that
17193
+ provides the input for the <acronym>JSON</acronym> value preceded
17194
+ by its type.
17190
17195
For <acronym>JSON</acronym> scalar types, you can omit the type.
17191
17196
</para>
17192
17197
<note>
@@ -17364,7 +17369,7 @@ Action | { "Vertigo" : "02:08:00", "48 Hrs" : "01:37:00", "Taxi Driver" :
17364
17369
17365
17370
<refsynopsisdiv>
17366
17371
<synopsis>JSON_ARRAY (
17367
- [ { <replaceable class=" parameter" >value_expression</replaceable > [ FORMAT JSON ] } [, ...] ]
17372
+ [ { <parameter>value_expression</parameter > [ FORMAT JSON ] } [, ...] ]
17368
17373
[ { NULL | ABSENT } ON NULL ]
17369
17374
[ RETURNING <replaceable class="parameter">data_type</replaceable> [ FORMAT JSON [ ENCODING UTF8 ] ]
17370
17375
)
@@ -17391,7 +17396,7 @@ Action | { "Vertigo" : "02:08:00", "48 Hrs" : "01:37:00", "Taxi Driver" :
17391
17396
<variablelist>
17392
17397
<varlistentry>
17393
17398
<term>
17394
- <literal><replaceable class=" parameter" >value_expression</replaceable ></literal>
17399
+ <literal><parameter>value_expression</parameter ></literal>
17395
17400
</term>
17396
17401
<listitem>
17397
17402
@@ -17536,7 +17541,7 @@ AS film_titles;
17536
17541
17537
17542
<refsynopsisdiv>
17538
17543
<synopsis>JSON_ARRAYAGG (
17539
- [ <replaceable class=" parameter" >value_expression</replaceable > ]
17544
+ [ <parameter>value_expression</parameter > ]
17540
17545
[ ORDER BY <replaceable class="parameter">sort_expression</replaceable> ]
17541
17546
[ { NULL | ABSENT } ON NULL ]
17542
17547
[ RETURNING <replaceable class="parameter">data_type</replaceable> [ FORMAT JSON [ ENCODING UTF8 ] ]
@@ -17560,14 +17565,15 @@ AS film_titles;
17560
17565
<variablelist>
17561
17566
<varlistentry>
17562
17567
<term>
17563
- <literal><replaceable class=" parameter" >value_expression</replaceable ></literal>
17568
+ <literal><parameter>value_expression</parameter ></literal>
17564
17569
</term>
17565
17570
<listitem>
17566
17571
17567
17572
<para>
17568
- The input clause that provides the input data to be aggregated as a <acronym>JSON</acronym> array.
17569
- The <replaceable class="parameter">value_expression</replaceable>
17570
- can be a value or a query returning the values to be used as input in array construction.
17573
+ The input clause that provides the input data to be aggregated as
17574
+ a <acronym>JSON</acronym> array.
17575
+ The <parameter>value_expression</parameter> can be a value or a query
17576
+ returning the values to be used as input in array construction.
17571
17577
You can provide multiple input values separated by commas.
17572
17578
</para>
17573
17579
</listitem>
0 commit comments