diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-05-09 20:25:42 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-05-09 20:25:42 -0400 |
commit | 17e4082b6312383075e397b4b2ae324c90716c5b (patch) | |
tree | 9a6d6b562f5f4744ce2e6ae143efb3b845359c9b /doc/src | |
parent | 3d8c2b496fc1fed2b8ff8a403d3a17329325466e (diff) | |
download | postgresql-17e4082b6312383075e397b4b2ae324c90716c5b.tar.gz postgresql-17e4082b6312383075e397b4b2ae324c90716c5b.zip |
Fix bogus documentation of json_object_agg().
It takes two arguments, not one.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 8a10eb30cb2..d7e237e1cc7 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -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> |