aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2014-01-29 09:51:02 -0500
committerAndrew Dunstan <andrew@dunslane.net>2014-01-29 09:51:02 -0500
commit2013e5eef7e08d924237c03196b76a9edf43254a (patch)
treea514aceabe3495d134d5c04966d2e8de9911d031
parent991659dcd768163c77924e67a75088e91c713189 (diff)
downloadpostgresql-2013e5eef7e08d924237c03196b76a9edf43254a.tar.gz
postgresql-2013e5eef7e08d924237c03196b76a9edf43254a.zip
Remedy two small omissions in the new json functions docs.
-rw-r--r--doc/src/sgml/func.sgml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 77dac084737..cd886ab71a7 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -10486,7 +10486,9 @@ table2-mapping
<para>
See also <xref linkend="functions-aggregate"> about the aggregate
function <function>json_agg</function> which aggregates record
- values as JSON efficiently.
+ values as JSON efficiently, and the aggregate function
+ <function>json_object_agg</function>, which aggregates pairs of values
+ into a JSON object.
</para>
</sect1>
@@ -12077,6 +12079,7 @@ SELECT count(*) FROM sometable;
<para>
The aggregate functions <function>array_agg</function>,
<function>json_agg</function>,
+ <function>json_object_agg</function>,
<function>string_agg</function>,
and <function>xmlagg</function>, as well as similar user-defined
aggregate functions, produce meaningfully different result values