@@ -9928,7 +9928,7 @@ table2-mapping
99289928 </indexterm>
99299929 <literal>array_to_json(anyarray [, pretty_bool])</literal>
99309930 </entry>
9931- <entry>json</entry>
9931+ <entry><type> json</type> </entry>
99329932 <entry>
99339933 Returns the array as JSON. A PostgreSQL multidimensional array
99349934 becomes a JSON array of arrays. Line feeds will be added between
@@ -9944,7 +9944,7 @@ table2-mapping
99449944 </indexterm>
99459945 <literal>row_to_json(record [, pretty_bool])</literal>
99469946 </entry>
9947- <entry>json</entry>
9947+ <entry><type> json</type> </entry>
99489948 <entry>
99499949 Returns the row as JSON. Line feeds will be added between level
99509950 1 elements if <parameter>pretty_bool</parameter> is true.
@@ -9959,12 +9959,12 @@ table2-mapping
99599959 </indexterm>
99609960 <literal>to_json(anyelement)</literal>
99619961 </entry>
9962- <entry>json</entry>
9962+ <entry><type> json</type> </entry>
99639963 <entry>
9964- Returns the value as JSON. If the data type is notbuiltin , 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 notbuilt in , and there
9965+ is a cast from the type to<type> json</type> , the cast function will be used to
99669966 perform the conversion. Otherwise, for any value other than a number,
9967- aboolean orNULL , the text representation will be used, escaped and
9967+ aBoolean, ora null value , the text representation will be used, escaped and
99689968 quoted so that it is legal JSON.
99699969 </entry>
99709970 <entry><literal>to_json('Fred said "Hi."'::text)</literal></entry>
@@ -9977,9 +9977,9 @@ table2-mapping
99779977 </indexterm>
99789978 <literal>json_array_length(json)</literal>
99799979 </entry>
9980- <entry>int</entry>
9980+ <entry><type> int</type> </entry>
99819981 <entry>
9982- Returns the number of elements in the outermostjson array.
9982+ Returns the number of elements in the outermostJSON array.
99839983 </entry>
99849984 <entry><literal>json_array_length('[1,2,3,{"f1":1,"f2":[5,6]},4]')</literal></entry>
99859985 <entry><literal>5</literal></entry>
@@ -9991,9 +9991,9 @@ table2-mapping
99919991 </indexterm>
99929992 <literal>json_each(json)</literal>
99939993 </entry>
9994- <entry>SETOF key text, value json</entry>
9994+ <entry><type> SETOF key text, value json</type> </entry>
99959995 <entry>
9996- Expands the outermostjson object into a set of key/value pairs.
9996+ Expands the outermostJSON object into a set of key/value pairs.
99979997 </entry>
99989998 <entry><literal>select * from json_each('{"a":"foo", "b":"bar"}')</literal></entry>
99999999 <entry>
@@ -10012,9 +10012,9 @@ table2-mapping
1001210012 </indexterm>
1001310013 <literal>json_each_text(from_json json)</literal>
1001410014 </entry>
10015- <entry>SETOF key text, value text</entry>
10015+ <entry><type> SETOF key text, value text</type> </entry>
1001610016 <entry>
10017- Expands the outermostjson object into a set of key/value pairs. The
10017+ Expands the outermostJSON object into a set of key/value pairs. The
1001810018 returned value will be of type text.
1001910019 </entry>
1002010020 <entry><literal>select * from json_each_text('{"a":"foo", "b":"bar"}')</literal></entry>
@@ -10034,9 +10034,9 @@ table2-mapping
1003410034 </indexterm>
1003510035 <literal>json_extract_path(from_json json, VARIADIC path_elems text[])</literal>
1003610036 </entry>
10037- <entry>json</entry>
10037+ <entry><type> json</type> </entry>
1003810038 <entry>
10039- Returnsjson object pointed to by <parameter>path_elems</parameter>.
10039+ ReturnsJSON object pointed to by <parameter>path_elems</parameter>.
1004010040 </entry>
1004110041 <entry><literal>json_extract_path('{"f2":{"f3":1},"f4":{"f5":99,"f6":"foo"}}','f4')</literal></entry>
1004210042 <entry><literal>{"f5":99,"f6":"foo"}</literal></entry>
@@ -10048,9 +10048,9 @@ table2-mapping
1004810048 </indexterm>
1004910049 <literal>json_extract_path_text(from_json json, VARIADIC path_elems text[])</literal>
1005010050 </entry>
10051- <entry>text</entry>
10051+ <entry><type> text</type> </entry>
1005210052 <entry>
10053- Returnsjson object pointed to by <parameter>path_elems</parameter>.
10053+ ReturnsJSON object pointed to by <parameter>path_elems</parameter>.
1005410054 </entry>
1005510055 <entry><literal>json_extract_path_text('{"f2":{"f3":1},"f4":{"f5":99,"f6":"foo"}}','f4', 'f6')</literal></entry>
1005610056 <entry><literal>foo</literal></entry>
@@ -10062,9 +10062,9 @@ table2-mapping
1006210062 </indexterm>
1006310063 <literal>json_object_keys(json)</literal>
1006410064 </entry>
10065- <entry>SETOF text</entry>
10065+ <entry><type> SETOF text</type> </entry>
1006610066 <entry>
10067- Returns set of keys in thejson object. Only the" outer" object will be displayed.
10067+ Returns set of keys in theJSON object. Only the<quote> outer</quote> object will be displayed.
1006810068 </entry>
1006910069 <entry><literal>json_object_keys('{"f1":"abc","f2":{"f3":"a", "f4":"b"}}')</literal></entry>
1007010070 <entry>
@@ -10083,11 +10083,11 @@ table2-mapping
1008310083 </indexterm>
1008410084 <literal>json_populate_record(base anyelement, from_json json, [, use_json_as_text bool=false]</literal>
1008510085 </entry>
10086- <entry>anyelement</entry>
10086+ <entry><type> anyelement</type> </entry>
1008710087 <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
1008910089 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>
1009110091 will be left null. A column may only be specified once.
1009210092 </entry>
1009310093 <entry><literal>select * from json_populate_record(null::x, '{"a":1,"b":2}')</literal></entry>
@@ -10106,12 +10106,12 @@ table2-mapping
1010610106 </indexterm>
1010710107 <literal>json_populate_recordset(base anyelement, from_json json, [, use_json_as_text bool=false]</literal>
1010810108 </entry>
10109- <entry>SETOF anyelement</entry>
10109+ <entry><type> SETOF anyelement</type> </entry>
1011010110 <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
1011210112 whose columns match the record type defined by base.
1011310113 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
1011510115 may only be specified once.
1011610116 </entry>
1011710117 <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
1013110131 </indexterm>
1013210132 <literal>json_array_elements(json)</literal>
1013310133 </entry>
10134- <entry>SETOF json</entry>
10134+ <entry><type> SETOF json</type> </entry>
1013510135 <entry>
10136- Expands ajson array to a set ofjson elements.
10136+ Expands aJSON array to a set ofJSON elements.
1013710137 </entry>
1013810138 <entry><literal>json_array_elements('[1,true, [2,false]]')</literal></entry>
1013910139 <entry>
@@ -10152,16 +10152,16 @@ table2-mapping
1015210152
1015310153 <note>
1015410154 <para>
10155- The <xref linkend="hstore"> extension has a cast from hstore to
10156- json, so that converted hstore values are represented asjson 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 asJSON objects,
1015710157 not as string values.
1015810158 </para>
1015910159 </note>
1016010160
1016110161 <para>
1016210162 See also <xref linkend="functions-aggregate"> about the aggregate
1016310163 function <function>json_agg</function> which aggregates record
10164- values asjson efficiently.
10164+ values asJSON efficiently.
1016510165 </para>
1016610166 </sect1>
1016710167
@@ -11546,7 +11546,7 @@ SELECT NULLIF(value, '(none)') ...
1154611546 <entry>
1154711547 <type>json</type>
1154811548 </entry>
11549- <entry>aggregates records as ajson array of objects</entry>
11549+ <entry>aggregates records as aJSON array of objects</entry>
1155011550 </row>
1155111551
1155211552 <row>
@@ -14904,7 +14904,7 @@ SELECT set_config('log_statement_stats', 'off', false);
1490414904 </sect2>
1490514905
1490614906 <sect2 id="functions-admin-signal">
14907- <title>ServerSignalling Functions</title>
14907+ <title>ServerSignaling Functions</title>
1490814908
1490914909 <indexterm>
1491014910 <primary>pg_cancel_backend</primary>
@@ -14932,7 +14932,7 @@ SELECT set_config('log_statement_stats', 'off', false);
1493214932 </para>
1493314933
1493414934 <table id="functions-admin-signal-table">
14935- <title>ServerSignalling Functions</title>
14935+ <title>ServerSignaling Functions</title>
1493614936 <tgroup cols="3">
1493714937 <thead>
1493814938 <row><entry>Name</entry> <entry>Return Type</entry> <entry>Description</entry>