Re: UPDATE run check constraints for affected columns only

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: UPDATE run check constraints for affected columns only
Date: 2026-03-05 03:12:04
Message-ID: CACJufxH0oh7YHFZH1MWqgQUdRQ3M8B5yKgzyyDDnLFtc7E1L6Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thank to Jacob Champion for the off-list review.
Now ExecRelCheck looks much neater.

--
jian
https://www.enterprisedb.com/

Attachment Content-Type Size
v5-0001-skip-unnecessary-check-constraint-verification-for-UPDATE.patch text/x-patch 14.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message wenhui qiu 2026-03-05 03:40:13 Re: Convert NOT IN sublinks to anti-joins when safe
Previous Message Fujii Masao 2026-03-05 03:10:50 Re: Options to control remote transactions’ access/deferrable modes in postgres_fdw