From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: exclusion@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17897: Crash on assignment to array of constraint-less domain over composite type
Date: Sat, 15 Apr 2023 11:26:04 -0400
Message-ID: <1716431.1681572364@sss.pgh.pa.us> (raw)
In-Reply-To: <20230415151709.jh7ygoak2fc2msdb@erthalion.local>
References: <17897-4216c546c3874044@postgresql.org>
<20230415151709.jh7ygoak2fc2msdb@erthalion.local>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, 9erthalion6@gmail.com, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17897: Crash on assignment to array of constraint-less domain over composite type
In-Reply-To: <1716431.1681572364@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox