bug in json_to_record with arrays

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема bug in json_to_record with arrays
Дата
Msg-id 54763009.4010409@agliodbs.com
обсуждение исходный текст
Список pgsql-hackers
Tested on 9.4b3, 9.4rc1, 9.5devel

select * from json_to_record('
{"id":1,"val":"josh","valry":["potter","chef","programmer"]}') as r(id
int, val text, valry text[]);

ERROR:  missing dimension value

With some experimentation, I can't find any way to convert a JSON array
to an array field using json_to_record or json_to_recordset.  I know
this worked back in January, though.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: no test programs in contrib
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: bug in json_to_record with arrays