alter check constraint enforceability

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: alter check constraint enforceability
Date: 2025-06-02 13:57:33
Message-ID: CACJufxHCh_FU-FsEwsCvg9mN6-5tzR6H9ntn+0KUgTCaerDOmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi.

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.

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitrios Apostolou 2025-06-02 13:57:59 Re: [PING] fallocate() causes btrfs to never compress postgresql files
Previous Message Nathan Bossart 2025-06-02 13:52:00 Re: C11 / VS 2019