Fix bogus documentation of json_object_agg().
authorTom Lane
Sat, 10 May 2014 00:25:42 +0000 (20:25 -0400)
committerTom Lane
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(3 rows)
        
         json_object_agg
        
-       json_object_agg(expression)
+       json_object_agg(name, value)
       
       
        ("any", "any")