Aug 2023

1 commit
Disallow changing NO INHERIT status of a not-null constraint
29 Aug 2023Alvaro Herreramaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #3

The commit retains the API changes and regression cases from #3, but moves CREATE TABLE validation from MergeAttributes in src/backend/commands/tablecmds.c to AddRelationNotNullConstraints in src/backend/catalog/heap.c, as explained in #4. It also changes AdjustNotNullInheritance1 to reject differing NO INHERIT states rather than every true is_no_inherit argument, and corrects comments and diagnostics.

Credits across 1 commit

Co author
Alvaro Herrera1
Kyotaro Horiguchi1
Committer
Alvaro Herrera1