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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: yarexeray(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15940: json_populate_recordset fails with ERROR: record type has not been registered
Date: 2019-08-06 07:32:09
Message-ID: 20190806073209.GI32256@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Aug 06, 2019 at 06:41:34AM +0000, PG Bug reporting form wrote:
> Following query works fine in previous freebsd versions
>
> SELECT
> id_item
> FROM json_populate_recordset(null::record, '[{"id_item":776}]')
> AS
> (
> id_item int
> );

This visibly is a regression between 11 and 10, and one bisect later
here is the culprit:
commit: 37a795a60b4f4b1def11c615525ec5e0e9449e05
author: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
date: Thu, 26 Oct 2017 13:47:45 -0400
Support domains over composite types.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kyotaro Horiguchi 2019-08-06 08:11:40 Re: BUG #15938: Corrupted WAL segment after crash recovery
Previous Message mathi joshi 2019-08-06 06:42:31 Re: BUG #15940: json_populate_recordset fails with ERROR: record type has not been registered