Re: BUG #17897: Crash on assignment to array of constraint-less domain over composite type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17897: Crash on assignment to array of constraint-less domain over composite type
Дата
Msg-id 1716431.1681572364@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17897: Crash on assignment to array of constraint-less domain over composite type  (Dmitry Dolgov <9erthalion6@gmail.com>)
Список pgsql-bugs
Dmitry Dolgov <9erthalion6@gmail.com> writes:
>> On Fri, Apr 14, 2023 at 07:00:01PM +0000, PG Bug reporting form wrote:
>> The following modified excerpt from regress/sql/domain.sql:
>> ...
>> causes a server crash with the following stack trace:
>> [...]
>> Not reproduced on REL_11_STABLE, but reproduced on REL_12_STABLE .. master
>> since 04fe805a1 made a constraint-less domain represented as a RelabelType
>> (not CoerceToDomain) and thus the fix for [1] (ae7b1dd59) doesn't cover
>> this case.

> Looks like it could be fixed in the same way as in ae7b1dd59 ?

Agreed, that seems like the obvious fix.  Thanks for the report,
and for the investigation!

            regards, tom lane



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

Предыдущее
От: Dmitry Dolgov
Дата:
Сообщение: Re: BUG #17897: Crash on assignment to array of constraint-less domain over composite type
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 1. PostgreSQL Server Subprocess Went down at function 'pg_detoast_datum_packed'