Re: [PATCH v1] Fix for Bug#19724 - ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check

From: Nitin Motiani <nitinmotiani(at)google(dot)com>
To: Matheus Alcantara <matheusssilv97(at)gmail(dot)com>
Cc: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: [PATCH v1] Fix for Bug#19724 - ALTER TYPE ... ALTER ATTRIBUTE triggers internal error for base type of domain with check
Date: 2026-12-02 12:06:21
Message-ID: CAH5HC94-Fder4Y90a1=A-Kapeaqd1asgYkgWEFoKyQQyCEzGdQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 24, 2026 at 9:20 PM Matheus Alcantara
<matheusssilv97(at)gmail(dot)com> wrote:
>
> Thanks for testing the patch!
>

Thanks for looking into this further. I haven't had a chance to spend
time on this patch in the last few weeks. Just tested v6 and it works
fine.

> Regarding back-patching, I think that we will need a different 0003
> patch for older versions because of the new node type. Another option is
> to keep the OIDs in a list in AlteredTableInfo instead of adding a new
> node, which I think could then be back-patched as is. But I'm not sure
> this issue is common enough to justify that approach (I'm not a big fan
> of it, but I'm OK with it if we decide that we need to back-patch).
> Thoughts?
>

I don't think it's worth the extra effort to backpatch. We can also
let the commiters make the call. If the reviewers think the patches
look good, could they mark them as ready for committer on the
commitfest entry?

Regards,
Nitin Motiani
Google

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2026-12-02 12:11:42 Re: ALTER DEFAULT PRIVILEGES IN SCHEMA pg_conflict silently has no effect
Previous Message Fujii Masao 2026-12-02 11:56:28 Re: Unused code in brin_minmax_multi_consistent