Re:Postgres 15 improves UNIQUE and NULL
by lmm on Monday July 11, 2022 @09:26PM
(#32064461)
SQL absolutely does have that problem. You have no way of enforcing or checking that an expression is supposed to be non-NULL; at best you get an error at runtime when you try to insert it into a given column, which is usually far too late.
[ Parent
| on HN ]
This is only a problem insofar as any data constraint is a problem.