]> granicus.if.org Git - postgresql/commitdiff
Fix bogus documentation of json_object_agg().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 May 2014 00:25:42 +0000 (20:25 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 May 2014 00:25:42 +0000 (20:25 -0400)
It takes two arguments, not one.

doc/src/sgml/func.sgml

index 8a10eb30cb2288d96d2b65be0d3399c9740a87a6..d7e237e1cc77df1931245cc9fcf6b09ef4a2ec5b 100644 (file)
@@ -12170,7 +12170,7 @@ NULL baz</literallayout>(3 rows)</entry>
        <indexterm>
         <primary>json_object_agg</primary>
        </indexterm>
-       <function>json_object_agg(<replaceable class="parameter">expression</replaceable>)</function>
+       <function>json_object_agg(<replaceable class="parameter">name</replaceable>, <replaceable class="parameter">value</replaceable>)</function>
       </entry>
       <entry>
        <type>("any", "any")</type>