Re: using index to speedup add not null constraints to a table

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: using index to speedup add not null constraints to a table
Date: 2025-02-05 08:24:31
Message-ID: CACJufxE_Q3qbjsf9fjg_j8oQwYRyADerJPQXuiVOP7HPPWHz_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi

rebased new patch attached.
I also did some cosmetic changes. comments refined.
make sure using index_scan mechanism to fast check column not-null can
only be used via btree index.
isolation tests are simplified.

Attachment Content-Type Size
v3-0001-using-index-to-speedup-add-not-null-constraint-to.patch text/x-patch 33.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2025-02-05 08:27:33 Re: should we have a fast-path planning for OLTP starjoins?
Previous Message Richard Guo 2025-02-05 08:23:40 Re: should we have a fast-path planning for OLTP starjoins?