Re: [PATCH] no table rewrite when set column type to constrained domain

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: solai v <solai(dot)cdac(at)gmail(dot)com>
Cc: Viktor Holmberg <v(at)viktorh(dot)net>, Aditya Gollamudi <adigollamudi(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] no table rewrite when set column type to constrained domain
Date: 2026-07-13 02:14:18
Message-ID: CACJufxGGdsU4V0KG-gusH_kzTKdFSWPq4a1ymL5npO8hhYR2Lw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 9, 2026 at 1:38 PM solai v <solai(dot)cdac(at)gmail(dot)com> wrote:
>
> Hi Jian,
>
> Thanks for the update.
>
> I tried applying the v7 patch on current master (cbf9a72993e), but it
> doesn't apply cleanly. Most of the patch applies, however there are
> rejected hunks in src/backend/commands/copyfrom.c,
> src/backend/commands/tablecmds.c, and the fast_default regression test
> files.
>
> Could you please check if the patch needs a rebase or if there is a
> prerequisite patch?
>

It should work, since all CI tests succeeded;
See https://github.com/postgresql-cfbot/postgresql/actions/runs/29149084009/attempts/1

Maybe your source tree is not clean.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-07-13 03:23:42 Re: sequencesync worker race with REFRESH SEQUENCES
Previous Message Michael Paquier 2026-07-13 02:06:19 Re: equalPolicy() doesn't compare the permissive flag