On Wednesday, June 17, 2026, Pete O'Such <posuch(at)gmail(dot)com> wrote:
> https://www.postgresql.org/docs/9.1/sql-altertable.html
>
> The text for "ADD table_constraint" says that NOT VALID "is currently only
> allowed for foreign key constraints."
>
>
You are commenting on version 9.1 documentation but testing version 18.
The 18 docs mention not-null constraints.
David J.