Commit 5f286c02 authored by Bruce Momjian's avatar Bruce Momjian

doc: ALTER DOMAIN VALIDATE CONSTRAINT can also fail

Document that ALTER DOMAIN VALIDATE CONSTRAINT can also fail for
composite types.

Report by Ondřej Bouda
parent bf740ce9
...@@ -271,9 +271,9 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -271,9 +271,9 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
<title>Notes</title> <title>Notes</title>
<para> <para>
Currently, <command>ALTER DOMAIN ADD CONSTRAINT</> and Currently, <command>ALTER DOMAIN ADD CONSTRAINT</>, <command>ALTER
<command>ALTER DOMAIN SET NOT NULL</> will fail if the validated named DOMAIN VALIDATE CONSTRAINT</>, and <command>ALTER DOMAIN SET NOT NULL</>
domain or will fail if the validated named domain or
any derived domain is used within a composite-type column of any any derived domain is used within a composite-type column of any
table in the database. They should eventually be improved to be table in the database. They should eventually be improved to be
able to verify the new constraint for such nested columns. able to verify the new constraint for such nested columns.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment