Re: BUG #15940: json_populate_recordset fails with ERROR: record type has not been registered

mathi joshi <maithili.manurkar@gmail.com>

From: mathi joshi <maithili.manurkar@gmail.com>
To: yarexeray@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2019-08-06T06:42:31Z
Lists: pgsql-bugs

> On 06-Aug-2019, at 12:11 PM, PG Bug reporting form <noreply@postgresql.org> wrote:
> 
> The following bug has been logged on the website:
> 
> Bug reference:      15940
> Logged by:          Jaroslav Sivy
> Email address:      yarexeray@gmail.com
> PostgreSQL version: 11.2
> Operating system:   freebsd
> Description:        
> 
> Following query works fine in previous freebsd versions
> 
> SELECT
> 	id_item          
> FROM json_populate_recordset(null::record, '[{"id_item":776}]')
> AS
> (
> 	id_item int
> );
> 




Commits

  1. Restore json{b}_populate_record{set}'s ability to take type info from AS.

  2. Support domains over composite types.