@@ -9928,7 +9928,7 @@ table2-mapping
9928
9928
</indexterm>
9929
9929
<literal>array_to_json(anyarray [, pretty_bool])</literal>
9930
9930
</entry>
9931
- <entry>json</entry>
9931
+ <entry><type> json</type> </entry>
9932
9932
<entry>
9933
9933
Returns the array as JSON. A PostgreSQL multidimensional array
9934
9934
becomes a JSON array of arrays. Line feeds will be added between
@@ -9944,7 +9944,7 @@ table2-mapping
9944
9944
</indexterm>
9945
9945
<literal>row_to_json(record [, pretty_bool])</literal>
9946
9946
</entry>
9947
- <entry>json</entry>
9947
+ <entry><type> json</type> </entry>
9948
9948
<entry>
9949
9949
Returns the row as JSON. Line feeds will be added between level
9950
9950
1 elements if <parameter>pretty_bool</parameter> is true.
@@ -9959,12 +9959,12 @@ table2-mapping
9959
9959
</indexterm>
9960
9960
<literal>to_json(anyelement)</literal>
9961
9961
</entry>
9962
- <entry>json</entry>
9962
+ <entry><type> json</type> </entry>
9963
9963
<entry>
9964
- Returns the value as JSON. If the data type is not builtin , and there
9965
- is a cast from the type to json, the cast function will be used to
9964
+ Returns the value as JSON. If the data type is not built in , and there
9965
+ is a cast from the type to <type> json</type> , the cast function will be used to
9966
9966
perform the conversion. Otherwise, for any value other than a number,
9967
- a boolean or NULL , the text representation will be used, escaped and
9967
+ a Boolean, or a null value , the text representation will be used, escaped and
9968
9968
quoted so that it is legal JSON.
9969
9969
</entry>
9970
9970
<entry><literal>to_json('Fred said "Hi."'::text)</literal></entry>
@@ -9977,9 +9977,9 @@ table2-mapping
9977
9977
</indexterm>
9978
9978
<literal>json_array_length(json)</literal>
9979
9979
</entry>
9980
- <entry>int</entry>
9980
+ <entry><type> int</type> </entry>
9981
9981
<entry>
9982
- Returns the number of elements in the outermost json array.
9982
+ Returns the number of elements in the outermost JSON array.
9983
9983
</entry>
9984
9984
<entry><literal>json_array_length('[1,2,3,{"f1":1,"f2":[5,6]},4]')</literal></entry>
9985
9985
<entry><literal>5</literal></entry>
@@ -9991,9 +9991,9 @@ table2-mapping
9991
9991
</indexterm>
9992
9992
<literal>json_each(json)</literal>
9993
9993
</entry>
9994
- <entry>SETOF key text, value json</entry>
9994
+ <entry><type> SETOF key text, value json</type> </entry>
9995
9995
<entry>
9996
- Expands the outermost json object into a set of key/value pairs.
9996
+ Expands the outermost JSON object into a set of key/value pairs.
9997
9997
</entry>
9998
9998
<entry><literal>select * from json_each('{"a":"foo", "b":"bar"}')</literal></entry>
9999
9999
<entry>
@@ -10012,9 +10012,9 @@ table2-mapping
10012
10012
</indexterm>
10013
10013
<literal>json_each_text(from_json json)</literal>
10014
10014
</entry>
10015
- <entry>SETOF key text, value text</entry>
10015
+ <entry><type> SETOF key text, value text</type> </entry>
10016
10016
<entry>
10017
- Expands the outermost json object into a set of key/value pairs. The
10017
+ Expands the outermost JSON object into a set of key/value pairs. The
10018
10018
returned value will be of type text.
10019
10019
</entry>
10020
10020
<entry><literal>select * from json_each_text('{"a":"foo", "b":"bar"}')</literal></entry>
@@ -10034,9 +10034,9 @@ table2-mapping
10034
10034
</indexterm>
10035
10035
<literal>json_extract_path(from_json json, VARIADIC path_elems text[])</literal>
10036
10036
</entry>
10037
- <entry>json</entry>
10037
+ <entry><type> json</type> </entry>
10038
10038
<entry>
10039
- Returns json object pointed to by <parameter>path_elems</parameter>.
10039
+ Returns JSON object pointed to by <parameter>path_elems</parameter>.
10040
10040
</entry>
10041
10041
<entry><literal>json_extract_path('{"f2":{"f3":1},"f4":{"f5":99,"f6":"foo"}}','f4')</literal></entry>
10042
10042
<entry><literal>{"f5":99,"f6":"foo"}</literal></entry>
@@ -10048,9 +10048,9 @@ table2-mapping
10048
10048
</indexterm>
10049
10049
<literal>json_extract_path_text(from_json json, VARIADIC path_elems text[])</literal>
10050
10050
</entry>
10051
- <entry>text</entry>
10051
+ <entry><type> text</type> </entry>
10052
10052
<entry>
10053
- Returns json object pointed to by <parameter>path_elems</parameter>.
10053
+ Returns JSON object pointed to by <parameter>path_elems</parameter>.
10054
10054
</entry>
10055
10055
<entry><literal>json_extract_path_text('{"f2":{"f3":1},"f4":{"f5":99,"f6":"foo"}}','f4', 'f6')</literal></entry>
10056
10056
<entry><literal>foo</literal></entry>
@@ -10062,9 +10062,9 @@ table2-mapping
10062
10062
</indexterm>
10063
10063
<literal>json_object_keys(json)</literal>
10064
10064
</entry>
10065
- <entry>SETOF text</entry>
10065
+ <entry><type> SETOF text</type> </entry>
10066
10066
<entry>
10067
- Returns set of keys in the json object. Only the " outer" object will be displayed.
10067
+ Returns set of keys in the JSON object. Only the <quote> outer</quote> object will be displayed.
10068
10068
</entry>
10069
10069
<entry><literal>json_object_keys('{"f1":"abc","f2":{"f3":"a", "f4":"b"}}')</literal></entry>
10070
10070
<entry>
@@ -10083,11 +10083,11 @@ table2-mapping
10083
10083
</indexterm>
10084
10084
<literal>json_populate_record(base anyelement, from_json json, [, use_json_as_text bool=false]</literal>
10085
10085
</entry>
10086
- <entry>anyelement</entry>
10086
+ <entry><type> anyelement</type> </entry>
10087
10087
<entry>
10088
- Expands the object in from_json to a row whose columns match
10088
+ Expands the object in <replaceable> from_json</replaceable> to a row whose columns match
10089
10089
the record type defined by base. Conversion will be best
10090
- effort; columns in base with no corresponding key in from_json
10090
+ effort; columns in base with no corresponding key in <replaceable> from_json</replaceable>
10091
10091
will be left null. A column may only be specified once.
10092
10092
</entry>
10093
10093
<entry><literal>select * from json_populate_record(null::x, '{"a":1,"b":2}')</literal></entry>
@@ -10106,12 +10106,12 @@ table2-mapping
10106
10106
</indexterm>
10107
10107
<literal>json_populate_recordset(base anyelement, from_json json, [, use_json_as_text bool=false]</literal>
10108
10108
</entry>
10109
- <entry>SETOF anyelement</entry>
10109
+ <entry><type> SETOF anyelement</type> </entry>
10110
10110
<entry>
10111
- Expands the outermost set of objects in from_json to a set
10111
+ Expands the outermost set of objects in <replaceable> from_json</replaceable> to a set
10112
10112
whose columns match the record type defined by base.
10113
10113
Conversion will be best effort; columns in base with no
10114
- corresponding key in from_json will be left null. A column
10114
+ corresponding key in <replaceable> from_json</replaceable> will be left null. A column
10115
10115
may only be specified once.
10116
10116
</entry>
10117
10117
<entry><literal>select * from json_populate_recordset(null::x, '[{"a":1,"b":2},{"a":3,"b":4}]')</literal></entry>
@@ -10131,9 +10131,9 @@ table2-mapping
10131
10131
</indexterm>
10132
10132
<literal>json_array_elements(json)</literal>
10133
10133
</entry>
10134
- <entry>SETOF json</entry>
10134
+ <entry><type> SETOF json</type> </entry>
10135
10135
<entry>
10136
- Expands a json array to a set of json elements.
10136
+ Expands a JSON array to a set of JSON elements.
10137
10137
</entry>
10138
10138
<entry><literal>json_array_elements('[1,true, [2,false]]')</literal></entry>
10139
10139
<entry>
@@ -10152,16 +10152,16 @@ table2-mapping
10152
10152
10153
10153
<note>
10154
10154
<para>
10155
- The <xref linkend="hstore"> extension has a cast from hstore to
10156
- json, so that converted hstore values are represented as json objects,
10155
+ The <xref linkend="hstore"> extension has a cast from <type> hstore</type> to
10156
+ <type> json</type> , so that converted <type> hstore</type> values are represented as JSON objects,
10157
10157
not as string values.
10158
10158
</para>
10159
10159
</note>
10160
10160
10161
10161
<para>
10162
10162
See also <xref linkend="functions-aggregate"> about the aggregate
10163
10163
function <function>json_agg</function> which aggregates record
10164
- values as json efficiently.
10164
+ values as JSON efficiently.
10165
10165
</para>
10166
10166
</sect1>
10167
10167
@@ -11546,7 +11546,7 @@ SELECT NULLIF(value, '(none)') ...
11546
11546
<entry>
11547
11547
<type>json</type>
11548
11548
</entry>
11549
- <entry>aggregates records as a json array of objects</entry>
11549
+ <entry>aggregates records as a JSON array of objects</entry>
11550
11550
</row>
11551
11551
11552
11552
<row>
@@ -14904,7 +14904,7 @@ SELECT set_config('log_statement_stats', 'off', false);
14904
14904
</sect2>
14905
14905
14906
14906
<sect2 id="functions-admin-signal">
14907
- <title>Server Signalling Functions</title>
14907
+ <title>Server Signaling Functions</title>
14908
14908
14909
14909
<indexterm>
14910
14910
<primary>pg_cancel_backend</primary>
@@ -14932,7 +14932,7 @@ SELECT set_config('log_statement_stats', 'off', false);
14932
14932
</para>
14933
14933
14934
14934
<table id="functions-admin-signal-table">
14935
- <title>Server Signalling Functions</title>
14935
+ <title>Server Signaling Functions</title>
14936
14936
<tgroup cols="3">
14937
14937
<thead>
14938
14938
<row><entry>Name</entry> <entry>Return Type</entry> <entry>Description</entry>
0 commit comments