Re: [BUGS] BUG #8407: json_populate_record case sensitivity

2013-08-29 Thread Andres Freund
On 2013-08-29 21:08:56 +, george.strag...@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 8407 > Logged by: Possible bug with json_populate_record? > Email address: george.strag...@gmail.com > PostgreSQL version: 9.3rc1 > Operating sys

Re: [BUGS] BUG #8407: json_populate_record case sensitivity

2013-08-29 Thread Alvaro Herrera
george.strag...@gmail.com escribió: > create type testPop as ( > FOOBAR int > ); Your problem is that this identifier has been downcased. This works: alvherre=# create type testPop as ( alvherre(# "FOOBAR" int); CREATE TYPE alvherre=# select * from json_populate_record(null::testPop, '{"F

[BUGS] BUG #8407: json_populate_record case sensitivity

2013-08-29 Thread george . stragand
The following bug has been logged on the website: Bug reference: 8407 Logged by: Possible bug with json_populate_record? Email address: george.strag...@gmail.com PostgreSQL version: 9.3rc1 Operating system: Ubuntu Description: Using PostgreSQL 9.3beta2. SELECT versi