Обсуждение: json docs fixup

Поиск
Список
Период
Сортировка

json docs fixup

От
Andrew Dunstan
Дата:
While writing slides for pgopen next week, I noticed that the JSON docs 
on json_populate_record and json_populate_recordset contain this sentence:
   A column may only be specified once.


IIRC we removed that restriction  during development, so unless there is 
a squawk I am going to simply remove that sentence where it occurs. Or 
should we say something like:
   If a column is specified more than once, the last value is used.


cheers

andrew



Re: json docs fixup

От
Robert Haas
Дата:
On Sat, Sep 14, 2013 at 3:23 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> While writing slides for pgopen next week, I noticed that the JSON docs on
> json_populate_record and json_populate_recordset contain this sentence:
>
>    A column may only be specified once.
>
>
> IIRC we removed that restriction  during development, so unless there is a
> squawk I am going to simply remove that sentence where it occurs. Or should
> we say something like:
>
>    If a column is specified more than once, the last value is used.

If the latter statement is accurate, I favor including it, versus
saying nothing on the topic.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company