agora inbox for pgsql-bugs@postgresql.org  
help / color / mirror / Atom feed
BUG #19724: ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check
2+ messages / 2 participants
[nested] [flat]

* BUG #19724: ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check
@ 2026-09-26 13:00  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2026-09-26 13:00 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: exclusion@gmail.com

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.








^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #19724: ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check
@ 2026-09-28 13:31  Nitin Motiani <nitinmotiani@google.com>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Nitin Motiani @ 2026-09-28 13:31 UTC (permalink / raw)
  To: exclusion@gmail.com; pgsql-bugs@lists.postgresql.org

Hi,

Thanks for the report. I sent a patch for this on pgsql-hackers. It
can be found at
https://www.postgresql.org/message-id/CAH5HC94%2B4teDZvuWkBiAikcK1pM2DH9W6iCNDoGpHxUdPGTNPw%40mail.g....

Please take a look.

Thanks,
Nitin Motiani
Google






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-09-28 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 13:00 BUG #19724: ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check PG Bug reporting form <noreply@postgresql.org>
2026-09-28 13:31 ` Nitin Motiani <nitinmotiani@google.com>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox