Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg |
| Дата | |
| Msg-id | 31842.1419276862@sss.pgh.pa.us обсуждение |
| Ответ на | 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
|
| Список | pgsql-committers |
Andrew Dunstan <andrew@dunslane.net> writes:
> Fix documentation of argument type of json_agg and jsonb_agg
> json_agg was originally designed to aggregate records. However, it soon
> became clear that it is useful for aggregating all kinds of values and
> that's what we have on 9.3 and 9.4, and in head for it and jsonb_agg.
> The documentation suggested otherwise, so this fixes it.
Claiming that the argument type is "expression" is not a fix. I don't
mind using that terminology in the first table column, but the second
column is supposed to be the truth not handwaving.
The actual declaration of the argument type is "anyelement", and I think
we use that to document other such functions.
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера