Re: BUG #17897: Crash on assignment to array of constraint-less domain over composite type
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2023-04-15T15:26:04Z
Lists: 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
Commits
-
Fix assignment to array of domain over composite, redux.
- c53ed26ea46e 15.3 landed
- 9b104a27c727 14.8 landed
- 7428aecddf18 13.11 landed
- 064eb89e83ea 16.0 landed
- 048caf8d757a 12.15 landed