Thread: CREATE DOMAIN create two not null constraints

CREATE DOMAIN create two not null constraints

From
jian he
Date:
hi.

CREATE DOMAIN int_domain1 AS INT CONSTRAINT nn1 NOT NULL CONSTRAINT
nn2 NOT NULL;

will install two not-null pg_constraint entries.
we should have only one?

Attachment