Re: BUG #19351: in pg18.1,when not null exists in the table , and add constraint problem.
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Srinath Reddy Sadipiralla <srinath2133@gmail.com>
Cc: msdnchina@163.com, pgsql-bugs@lists.postgresql.org
Date: 2025-12-11T07:29:45Z
Lists: pgsql-bugs
On 2025-Dec-10, Srinath Reddy Sadipiralla wrote: > ah... just after a quick code lookup, remembered that > "not null" is treated as a column property, which is a > flag in pg_attribute catalog table named as "attnotnull", This is no longer true in 18. https://www.enterprisedb.com/blog/changes-not-null-postgres-18 -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Fundamental layering violations tend to bite you on tender parts of your anatomy." (Tom Lane) https://postgr.es/m/2818249.1748706121@sss.pgh.pa.us