By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version |
|---|
| PostgreSQL 11.9 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5), 64-bit |
| a | b | d | e |
|---|---|---|---|
| null | null | null | null |
| a | b | d |
|---|---|---|
| 1 | [1,2,3] | null |
ERROR: type "core_type" does not exist
LINE 1: select (json_populate_record(null::core_type, '{"a":1,"b":[1...
^
| json_populate_record |
|---|
| (100,4.5,10,YXCV) |