BUG #19724: ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #19724: ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check
Date
Msg-id 19724-58468097b5b17d10@postgresql.org
Whole thread
Responses Re: BUG #19724: ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      19724
Logged by:          Alexander Lakhin
Email address:      exclusion@gmail.com
PostgreSQL version: 19beta4
Operating system:   Ubuntu 24.04
Description:

The following script:
CREATE TYPE rt AS (i int);
CREATE DOMAIN dt AS int CHECK ((ROW(value)::rt).i > 0);
ALTER TYPE rt ALTER ATTRIBUTE i TYPE bigint;

triggers an internal
ERROR:  XX000: could not identify relation associated with constraint 16390
LOCATION:  ATPostAlterTypeCleanup, tablecmds.c:16147

Reproduced starting from af20e2d72.





pgsql-bugs by date:

Previous
From: Pritt Balagopal
Date:
Subject: Re: BUG #19562: pgcli packaged by the PostgreSQL Yum Repository:ModuleNotFoundError: No module named 'pgspecial'
Next
From: Ayush Tiwari
Date:
Subject: Re: BUG #19723: CREATE INDEX racing with ALTER INDEX ATTACH PARTITION triggers unexpected internal error