File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ ALTER DOMAIN <replaceable class="parameter">name</replaceable>
41
41
RENAME TO <replaceable class="parameter">new_name</replaceable>
42
42
ALTER DOMAIN <replaceable class="parameter">name</replaceable>
43
43
SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
44
+
45
+ <phrase>where <replaceable class="parameter">domain_constraint</replaceable> is:</phrase>
46
+
47
+ [ CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ]
48
+ { NOT NULL | CHECK (<replaceable class="parameter">expression</replaceable>) }
44
49
</synopsis>
45
50
</refsynopsisdiv>
46
51
@@ -79,8 +84,7 @@ ALTER DOMAIN <replaceable class="parameter">name</replaceable>
79
84
<term><literal>ADD <replaceable class="parameter">domain_constraint</replaceable> [ NOT VALID ]</literal></term>
80
85
<listitem>
81
86
<para>
82
- This form adds a new constraint to a domain using the same syntax as
83
- <xref linkend="sql-createdomain"/>.
87
+ This form adds a new constraint to a domain.
84
88
When a new constraint is added to a domain, all columns using that
85
89
domain will be checked against the newly added constraint. These
86
90
checks can be suppressed by adding the new constraint using the
You can’t perform that action at this time.
0 commit comments