Re: Support NOT VALID / VALIDATE constraint options for named NOT NULL constraints
Rushabh Lathia <rushabh.lathia@gmail.com>
From: Rushabh Lathia <rushabh.lathia@gmail.com>
To: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>,
Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-03-12T10:22:38Z
Lists: pgsql-hackers
Attachments
- 0001-Convert-pg_attribut.attnotnull-to-char-type.patch (application/octet-stream) patch 0001
- 0002-Support-NOT-VALID-and-VALIDATE-CONSTRAINT-for-named-.patch (application/octet-stream) patch 0002
- 0003-Documentation-changes.patch (application/octet-stream) patch 0003
Hi Alvaro, Here are the latest patches, which includes the regression fix. Thanks, On Wed, Mar 12, 2025 at 3:38 PM Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> wrote: > On Wed, Mar 12, 2025 at 3:20 PM Alvaro Herrera <alvherre@alvh.no-ip.org> > wrote: > > > > On 2025-Mar-12, Ashutosh Bapat wrote: > > > > > If the test passes for you, can you please try the patches at [1] on > > > top of your patches? Please apply those, set and export environment > > > variable PG_TEST_EXTRA=regress_dump_test, and run 002_pg_upgrade test? > > > I intended to do this but can not do it since the test always fails > > > with your patches applied. > > > > Oh, I need to enable a PG_TEST_EXTRA option in order for the test to > > run? FFS. That explains why the tests passed just fine for me. > > I'll re-run. > > You need PG_TEST_EXTRA to run the testcase I am adding there. Rest of > the testcases run without PG_TEST_EXTRA. > > -- > Best Wishes, > Ashutosh Bapat > -- Rushabh Lathia
Commits
-
Allow NOT NULL constraints to be added as NOT VALID
- a379061a22a8 18.0 landed
-
Add missing deparsing of [NO] IDENT to XMLSERIALIZE()
- 984410b92326 18.0 cited
-
backend launchers void * arguments for binary data
- 7202d72787d3 18.0 cited
-
Add pg_constraint rows for not-null constraints
- 14e87ffa5c54 18.0 cited
-
Create the infrastructure for planner support functions.
- 1fb57af92069 12.0 cited
-
Add prokind column, replacing proisagg and proiswindow
- fd1a421fe661 11.0 cited