Re: alter check constraint enforceability

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: alter check constraint enforceability
Date: 2025-07-04 11:59:47
Message-ID: CACJufxFJFpU0V6zW6nic8_K9NOZqu1g5MOuuSRPTJ9xSAmeNrw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 2, 2025 at 9:57 PM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
>
> Currently in pg18, we can add not enforced check constraints.
> but we can not do ALTER TABLE ALTER CONSTRAINT [NOT] ENFORCED
> for check constraint.
>
> The attached patch is implementation of changing enforceability of
> check constraint.

hi.
rebase and minor refactoring.

Attachment Content-Type Size
v2-0001-alter-check-constraint-enforceability.patch text/x-patch 22.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Panin 2025-07-04 12:07:22 Re: Binary operators for cubes
Previous Message Nikita Malakhov 2025-07-04 11:38:34 Re: Support for 8-byte TOAST values (aka the TOAST infinite loop problem)