Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg
Дата
Msg-id 4299.1419291941@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg  (David G Johnston <david.g.johnston@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Further tidy up on json aggregate documentation
Следующее
От: David G Johnston
Дата:
Сообщение: Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg