Re: NOT NULL NOT ENFORCED

Haritabh Gupta <haritabh1992@gmail.com>

From: Haritabh Gupta <haritabh1992@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Jian He <hejian.mark@gmail.com>
Date: 2026-01-06T18:31:24Z
Lists: pgsql-hackers
Hello,
Noticed that the tab-completion is not working for the syntax e.g. `alter table x add constraint nn not null a no`.
Maybe we can get this added too with the patch.

Regards,
Haritabh

Commits

  1. Fix CREATE TABLE LIKE with not-valid check constraint

  2. Add support for NOT ENFORCED in CHECK constraints