Skip to content

PostgreSQL 19 follow-ups: supported servers note, one-pass validation of an inherited NOT NULL copy - #369

Merged
archlemon merged 2 commits into
mainfrom
pg19-docs
Nov 21, 2026
Merged

archlemon merged 2 commits into
mainfrom
pg19-docs

Conversation

@archlemon

Copy link
Copy Markdown
Member

Fixes #368

Part of #325.

  • docs/feature_support.md: the supported servers note lists the keys that need PostgreSQL 18 or 19 and the changes that run in place only on newer servers.
  • An inheritance child column with notValid: false whose parent's NOT NULL NOT VALID constraint the plan adds again (drift dropped it, and the child's copy with it) now gets its VALIDATE CONSTRAINT in the no-transaction migration of the same plan, instead of from the next diff. Found by the re-verification run (probe fixture f9_cons + f9_drift now converges in one pass on 18 and 19). Unit test TestInheritedNotNullValidatedCopyReadded.

@archlemon
archlemon merged commit 953b789 into main Nov 21, 2026
8 checks passed
@archlemon
archlemon deleted the pg19-docs branch November 21, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inherited NOT NULL copy marked notValid: false needs a second diff after its parent's constraint is added again

1 participant