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

From: Matheus Alcantara <matheusssilv97(at)gmail(dot)com>
To: Nitin Motiani <nitinmotiani(at)google(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:56:39
Message-ID: 0c521db5-2c45-4db3-b68c-92f2fbc4f57e@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02/12/26 09:06, Nitin Motiani wrote:
> 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.
>

Thank you for testing v6!

>> 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?
>

Fair point. I don't see a problem moving the CF status for Ready for
Committer if reviewers think that the patch is on this state. New
comments will always be welcome and we can move it back to Needs
Review if needed.

--
Matheus Alcantara
EDB: https://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2026-12-02 13:23:53 Assertion failure in GetSnapshotDataReuse() during promotion
Previous Message Greg Burd 2026-12-02 12:29:05 Re: Interrupts vs signals