Re: Doc error re: "not null" "not valid"

David G. Johnston <david.g.johnston@gmail.com>

From: "David G. Johnston" <david.g.johnston@gmail.com>
To: "Pete O'Such" <posuch@gmail.com>
Cc: "pgsql-docs@lists.postgresql.org" <pgsql-docs@lists.postgresql.org>
Date: 2026-06-18T04:26:31Z
Lists: pgsql-docs
On Wednesday, June 17, 2026, Pete O'Such <posuch@gmail.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.