From 7ab96d18f94d5e8c2deab8a6126632a194ea32f1 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
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 db7b8198350..d65d517bb5f 100644
--- a/doc/src/sgml/ref/alter_domain.sgml
+++ b/doc/src/sgml/ref/alter_domain.sgml
@@ -272,7 +272,8 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
 
   <para>
    Currently, <command>ALTER DOMAIN ADD CONSTRAINT</> and
-   <command>ALTER DOMAIN SET NOT NULL</> will fail if the named domain or
+   <command>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.
-- 
GitLab