On Wed, Jun 4, 2025 at 3:07 PM Dominique Devienne <ddevienne@gmail.com> wrote:
> Is this change of behavior normal?
> ... Was this intentional?
Well, apparently it is intentional, I found an entry in the release notes.
Case closed I guess. I adapted our introspection. Thanks, --DD
From https://www.postgresql.org/docs/18/release-18.html#RELEASE-18-CONSTRAINTS:
Store column NOT NULL specifications in pg_constraint (Álvaro Herrera,
Bernd Helmle) §
This allows names to be specified for NOT NULL constraint. This also
adds NOT NULL constraints to foreign tables and NOT NULL inheritance
control to local tables.