json docs fixup

Started by Andrew Dunstanover 12 years ago2 messages
#1Andrew Dunstan
andrew@dunslane.net

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#2Robert Haas
robertmhaas@gmail.com
In reply to: Andrew Dunstan (#1)
Re: json docs fixup

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers