1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-29 13:56:47 +03:00

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
This commit is contained in:
Bruce Momjian 2015-03-19 13:02:09 -04:00
parent bf740ce9e5
commit 5f286c0242

View File

@ -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.