@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_domain.sgml
3
3
PostgreSQL documentation
4
4
-->
5
5
6
- <refentry id="SQL-ALTERDOMAIN ">
6
+ <refentry id="sql-alterdomain ">
7
7
<!--==========================orignal english content==========================
8
8
<indexterm zone="sql-alterdomain">
9
9
<primary>ALTER DOMAIN</primary>
@@ -153,7 +153,7 @@ ____________________________________________________________________________-->
153
153
<!--==========================orignal english content==========================
154
154
<para>
155
155
This form adds a new constraint to a domain using the same syntax as
156
- <xref linkend="SQL-CREATEDOMAIN ">.
156
+ <xref linkend="sql-createdomain ">.
157
157
When a new constraint is added to a domain, all columns using that
158
158
domain will be checked against the newly added constraint. These
159
159
checks can be suppressed by adding the new constraint using the
@@ -165,7 +165,7 @@ ____________________________________________________________________________-->
165
165
</para>
166
166
____________________________________________________________________________-->
167
167
<para>
168
- 这种形式使用和<xref linkend="SQL-CREATEDOMAIN "/>相同的语法为一个
168
+ 这种形式使用和<xref linkend="sql-createdomain "/>相同的语法为一个
169
169
域增加一个新的约束。当一个新的约束被增加到一个域时,所有使用该域的列
170
170
都会被根据新加的约束进行检查。可以通过增加使用
171
171
<literal>NOT VALID</literal>选项的新约束来抑制这类检查,而该约束则可
@@ -347,7 +347,7 @@ ____________________________________________________________________________-->
347
347
</varlistentry>
348
348
349
349
<varlistentry>
350
- <term><replaceable class="parameter" >NOT VALID</replaceable ></term>
350
+ <term><literal >NOT VALID</literal ></term>
351
351
<listitem>
352
352
<para>
353
353
Do not verify existing column data for constraint validity.
@@ -522,20 +522,20 @@ ____________________________________________________________________________-->
522
522
523
523
<!--==========================orignal english content==========================
524
524
<para>
525
- Currently, <command>ALTER DOMAIN ADD CONSTRAINT</>, <command>ALTER
526
- DOMAIN VALIDATE CONSTRAINT</>, and <command>ALTER DOMAIN SET NOT NULL</>
527
- will fail if the validated named domain or
528
- any derived domain is used within a composite -type column of any
529
- table in the database. They should eventually be improved to be
530
- able to verify the new constraint for such nested columns .
525
+ Currently, <command>ALTER DOMAIN ADD CONSTRAINT</command >, <command>ALTER
526
+ DOMAIN VALIDATE CONSTRAINT</command >, and <command>ALTER DOMAIN SET NOT
527
+ NULL</command> will fail if the named domain or any derived domain is used
528
+ within a container -type column (a composite, array, or range column) in
529
+ any table in the database. They should eventually be improved to be able
530
+ to verify the new constraint for such nested values .
531
531
</para>
532
532
____________________________________________________________________________-->
533
533
<para>
534
- 当前,如果经过验证的所提及的域或者任何衍生域被数据库中的任意表的一个组合类型
535
- 列使用 ,<command>ALTER DOMAIN ADD CONSTRAINT</command>、<command>ALTER
534
+ 当前,如果域或者任何衍生域被数据库中的任意表的一个容器类型
535
+ 列(组合、数组、范围类型的列)使用 ,<command>ALTER DOMAIN ADD CONSTRAINT</command>、<command>ALTER
536
536
DOMAIN VALIDATE CONSTRAINT</command>和
537
- <command>ALTER DOMAIN SET NOT NULL</command>将会失败。它们最终将
538
- 会被改进成能够对这类嵌套列进行新约束验证 。
537
+ <command>ALTER DOMAIN SET NOT NULL</command>将会失败。这些命令最终将
538
+ 会被改进成能够对这类嵌套值进行约束验证 。
539
539
</para>
540
540
541
541
</refsect1>
@@ -628,7 +628,7 @@ ALTER DOMAIN zipcode SET SCHEMA customers;
628
628
</programlisting></para>
629
629
</refsect1>
630
630
631
- <refsect1 id="SQL-ALTERDOMAIN -compatibility">
631
+ <refsect1 id="sql-alterdomain -compatibility">
632
632
<!--==========================orignal english content==========================
633
633
<title>Compatibility</title>
634
634
____________________________________________________________________________-->
@@ -656,7 +656,7 @@ ____________________________________________________________________________-->
656
656
</para>
657
657
</refsect1>
658
658
659
- <refsect1 id="SQL-ALTERDOMAIN -see-also">
659
+ <refsect1 id="sql-alterdomain -see-also">
660
660
<!--==========================orignal english content==========================
661
661
<title>See Also</title>
662
662
____________________________________________________________________________-->
0 commit comments