From 7ab96d18f94d5e8c2deab8a6126632a194ea32f1 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 13 Oct 2014 16:44:20 -0400 Subject: [PATCH] docs: error for adding _validated_ domains for existing uses Report by David G Johnston --- doc/src/sgml/ref/alter_domain.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/alter_domain.sgml b/doc/src/sgml/ref/alter_domain.sgml index db7b819835..d65d517bb5 100644 --- a/doc/src/sgml/ref/alter_domain.sgml +++ b/doc/src/sgml/ref/alter_domain.sgml @@ -272,7 +272,8 @@ ALTER DOMAIN name Currently, ALTER DOMAIN ADD CONSTRAINT and - ALTER DOMAIN SET NOT NULL will fail if the named domain or + ALTER DOMAIN SET NOT NULL will fail if the validated named + domain or any derived domain is used within a composite-type column of any table in the database. They should eventually be improved to be able to verify the new constraint for such nested columns. -- 2.40.0