Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg
Date
Msg-id 4299.1419291941@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-committers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 12/22/2014 02:34 PM, Tom Lane wrote:
>> The actual declaration of the argument type is "anyelement", and I think
>> we use that to document other such functions.

> Oh, I thought I had seen "expression" there. It looks like we're using
> "any" elsewhere, so I'll use that. While I'm at it I'll remove the quote
> marks around the arguments to json_object_agg().

[ looks around... ]  Looks like there are some of each.  Don't know how
important consistency is here; I'm satisfied with "any", even though it
doesn't exactly match the catalogs.

            regards, tom lane


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Further tidy up on json aggregate documentation
Next
From: David G Johnston
Date:
Subject: Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg