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-01-23 02:09:27
Message-ID: CACJufxFimkvG8B+h1cNB7PoPHQiGVxe9-S=poWbJPtbi58XuOA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi.

code has been further simplified and is now more neat.
The test is kind of verbose now.

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

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2026-01-23 02:15:37 Re: Patch: dumping tables data in multiple chunks in pg_dump
Previous Message Zhijie Hou (Fujitsu) 2026-01-23 02:03:16 RE: Newly created replication slot may be invalidated by checkpoint