Catalog domain not-null constraints
authorPeter Eisentraut
Wed, 20 Mar 2024 08:29:08 +0000 (09:29 +0100)
committerPeter Eisentraut
Wed, 20 Mar 2024 09:05:37 +0000 (10:05 +0100)
commite5da0fe3c22b34c4433f1729e88495554b5331ed
treefa99ee64f20e482db38cf3c45d849510a9e7507a
parentc9c260decd239159277c1baad9d929ebcdf2491e
Catalog domain not-null constraints

This applies the explicit catalog representation of not-null
constraints introduced by b0e96f3119 for table constraints also to
domain not-null constraints.

Reviewed-by: Aleksander Alekseev
Reviewed-by: jian he
Discussion: https://www.postgresql.org/message-id/flat/9ec24d7b-633d-463a-84c6-7acff769c9e8%40eisentraut.org
src/backend/catalog/information_schema.sql
src/backend/catalog/pg_constraint.c
src/backend/commands/typecmds.c
src/backend/utils/adt/ruleutils.c
src/backend/utils/cache/typcache.c
src/bin/pg_dump/pg_dump.c
src/include/catalog/catversion.h
src/include/catalog/pg_constraint.h
src/test/regress/expected/domain.out
src/test/regress/sql/domain.sql