Re:Re: BUG #19351: in pg18.1,when not null exists in the table , and add constraint problem. - Mailing list pgsql-bugs

From yanliang lei
Subject Re:Re: BUG #19351: in pg18.1,when not null exists in the table , and add constraint problem.
Date
Msg-id 1259da72.9641.19b12163641.Coremail.msdnchina@163.com
Whole thread Raw
In response to Re: BUG #19351: in pg18.1,when not null exists in the table , and add constraint problem.  (Álvaro Herrera <alvherre@kurilemu.de>)
Responses Re: Re: BUG #19351: in pg18.1,when not null exists in the table , and add constraint problem.
List pgsql-bugs
Thanks for replying .

in the postgresql 18 ,not null has “Constraint Name”,and this is a PostgreSQL 18  New Feature.

so , i think that: this problem(BUG #19351) is a bug.


At 2025-12-11 15:29:45, "Álvaro Herrera" <alvherre@kurilemu.de> wrote: >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

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target list
Next
From: Veeranjaneya Vara Prasad Peddireddy
Date:
Subject: Bug in sub-query