Re: JSON for PG 9.2
| От | Pavel Stehule |
|---|---|
| Тема | Re: JSON for PG 9.2 |
| Дата | |
| Msg-id | CAFj8pRCsG9D2SWgk6PObW8ArkrzfP6KXaydjXhhKr4K-D56hXw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: JSON for PG 9.2 (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: JSON for PG 9.2
Re: JSON for PG 9.2 |
| Список | pgsql-hackers |
2012/1/11 Robert Haas <robertmhaas@gmail.com>: > On Tue, Dec 20, 2011 at 9:06 PM, David E. Wheeler <david@kineticode.com> wrote: >> On Dec 20, 2011, at 10:39 AM, Claes Jakobsson wrote: >>> Are people explicitly asking for a) *JSON* datatype or b) a type that lets you store arbitrary complex semi-untyped datastructures? >> >> Yes. >> >>> if b) then this might get a lot more interesting >> >> JSON is the most popular/likely way to represent that, I think. > > On that note, here's an updated version of the patch I posted > upthread, with some regression tests and minimal documentation. I like this patch and this feature. I see only one issue - there is not functionality that helps generate JSON in pg. What do you think about functions: array_to_json(anyarray), row_to_json(any) and format_json(text, text, ...) Regards Pavel > > -- > 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 >
В списке pgsql-hackers по дате отправления: