json_populate_recordset - Mailing list pgsql-general

From Adrian Klaver
Subject json_populate_recordset
Date
Msg-id 2a8ae0b7-1fd4-869a-a25e-d598968898c9@aklaver.com
Whole thread Raw
Responses Re: json_populate_recordset  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
 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?


Thanks,
-- 
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Daniel Baktiar
Date:
Subject: Re: Microsoft buys GitHub, is this a threat to open-source
Next
From: Pavel Stehule
Date:
Subject: Re: json_populate_recordset