Re: json_populate_recordset

2018-06-07 Thread Adrian Klaver
On 06/07/2018 09:56 AM, Pavel Stehule wrote: 2018-06-07 18:51 GMT+02:00 Adrian Klaver >: From here: https://www.postgresql.org/docs/10/static/functions-json.html select * from

Re: json_populate_recordset

2018-06-07 Thread Pavel Stehule
2018-06-07 18:51 GMT+02:00 Adrian Klaver : > From here: > > https://www.postgresql.org/docs/10/static/functions-json.html > > select * from json_populate_record(null::myrowtype, '{"a": 1, "b": ["2", > "a b"], "c": {"d": 4, "e": "a b c"}}') > > What is the null::myrowtype doing? > this function us