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

Pete O'Such <posuch@gmail.com>

From: "Pete O'Such" <posuch@gmail.com>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: "pgsql-docs@lists.postgresql.org" <pgsql-docs@lists.postgresql.org>
Date: 2026-06-18T04:45:46Z
Lists: pgsql-docs
>
> You are commenting on version 9.1 documentation but testing version 18.
> The 18 docs mention not-null constraints.


That's totally right. Thanks for setting me straight.

Pete

On Thu, Jun 18, 2026 at 12:26 AM David G. Johnston <
david.g.johnston@gmail.com> wrote:

> 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.
>
>