BUG #13972: jsonb_to_record cant map camelcase keys

Поиск
Список
Период
Сортировка
От zn@dbml.dk
Тема BUG #13972: jsonb_to_record cant map camelcase keys
Дата
Msg-id 20160218131207.2660.88690@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #13972: jsonb_to_record cant map camelcase keys
Re: BUG #13972: jsonb_to_record cant map camelcase keys
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13972
Logged by:          Jacob Zneider
Email address:      zn@dbml.dk
PostgreSQL version: 9.4.5
Operating system:   OS x 10.11.3
Description:

Try the following:

select * from json_to_record('{"aA":1,"bB":[1,2,3],"c":"bar"}') as x(aA int,
bB text, c text)

first two columns will be empty.

select * from json_to_record('{"aa":1,"bb":[1,2,3],"c":"bar"}') as x(aA int,
bB text, c text)

All columns are mapped.

select * from json_to_record('{"aa":1,"bb":[1,2,3],"c":"bar"}') as x(aa int,
bb text, c text)

All columns are mapped.

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

Предыдущее
От: tarkhil@over.ru
Дата:
Сообщение: BUG #13971: SysV shm is used regardless of config
Следующее
От: harry.townsend@eflowglobal.com
Дата:
Сообщение: BUG #13973: Constants resolved in then/else clauses