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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #15940: json_populate_recordset fails with ERROR: recordtype has not been registered
Дата
Msg-id 20190806073209.GI32256@paquier.xyz
обсуждение исходный текст
Ответ на BUG #15940: json_populate_recordset fails with ERROR: record type has not been registered  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15940: json_populate_recordset fails with ERROR: record typehas not been registered  (Dmitry Dolgov <9erthalion6@gmail.com>)
Список 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@sss.pgh.pa.us>
date: Thu, 26 Oct 2017 13:47:45 -0400
Support domains over composite types.
--
Michael

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: mathi joshi
Дата:
Сообщение: Re: BUG #15940: json_populate_recordset fails with ERROR: recordtype has not been registered
Следующее
От: Dmitry Dolgov
Дата:
Сообщение: Re: BUG #15940: json_populate_recordset fails with ERROR: record typehas not been registered