Skip to content

Commit 5f86417

Browse files
committed
fix alter_domain.sgml
1 parent 522adea commit 5f86417

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

postgresql/doc/src/sgml/ref/alter_domain.sgml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_domain.sgml
33
PostgreSQL documentation
44
-->
55

6-
<refentry id="SQL-ALTERDOMAIN">
6+
<refentry id="sql-alterdomain">
77
<!--==========================orignal english content==========================
88
<indexterm zone="sql-alterdomain">
99
<primary>ALTER DOMAIN</primary>
@@ -153,7 +153,7 @@ ____________________________________________________________________________-->
153153
<!--==========================orignal english content==========================
154154
<para>
155155
This form adds a new constraint to a domain using the same syntax as
156-
<xref linkend="SQL-CREATEDOMAIN">.
156+
<xref linkend="sql-createdomain">.
157157
When a new constraint is added to a domain, all columns using that
158158
domain will be checked against the newly added constraint. These
159159
checks can be suppressed by adding the new constraint using the
@@ -165,7 +165,7 @@ ____________________________________________________________________________-->
165165
</para>
166166
____________________________________________________________________________-->
167167
<para>
168-
这种形式使用和<xref linkend="SQL-CREATEDOMAIN"/>相同的语法为一个
168+
这种形式使用和<xref linkend="sql-createdomain"/>相同的语法为一个
169169
域增加一个新的约束。当一个新的约束被增加到一个域时,所有使用该域的列
170170
都会被根据新加的约束进行检查。可以通过增加使用
171171
<literal>NOT VALID</literal>选项的新约束来抑制这类检查,而该约束则可
@@ -347,7 +347,7 @@ ____________________________________________________________________________-->
347347
</varlistentry>
348348

349349
<varlistentry>
350-
<term><replaceable class="parameter">NOT VALID</replaceable></term>
350+
<term><literal>NOT VALID</literal></term>
351351
<listitem>
352352
<para>
353353
Do not verify existing column data for constraint validity.
@@ -522,20 +522,20 @@ ____________________________________________________________________________-->
522522

523523
<!--==========================orignal english content==========================
524524
<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.
531531
</para>
532532
____________________________________________________________________________-->
533533
<para>
534-
当前,如果经过验证的所提及的域或者任何衍生域被数据库中的任意表的一个组合类型
535-
列使用,<command>ALTER DOMAIN ADD CONSTRAINT</command>、<command>ALTER
534+
当前,如果域或者任何衍生域被数据库中的任意表的一个容器类型
535+
列(组合、数组、范围类型的列)使用,<command>ALTER DOMAIN ADD CONSTRAINT</command>、<command>ALTER
536536
DOMAIN VALIDATE CONSTRAINT</command>和
537-
<command>ALTER DOMAIN SET NOT NULL</command>将会失败。它们最终将
538-
会被改进成能够对这类嵌套列进行新约束验证
537+
<command>ALTER DOMAIN SET NOT NULL</command>将会失败。这些命令最终将
538+
会被改进成能够对这类嵌套值进行约束验证
539539
</para>
540540

541541
</refsect1>
@@ -628,7 +628,7 @@ ALTER DOMAIN zipcode SET SCHEMA customers;
628628
</programlisting></para>
629629
</refsect1>
630630

631-
<refsect1 id="SQL-ALTERDOMAIN-compatibility">
631+
<refsect1 id="sql-alterdomain-compatibility">
632632
<!--==========================orignal english content==========================
633633
<title>Compatibility</title>
634634
____________________________________________________________________________-->
@@ -656,7 +656,7 @@ ____________________________________________________________________________-->
656656
</para>
657657
</refsect1>
658658

659-
<refsect1 id="SQL-ALTERDOMAIN-see-also">
659+
<refsect1 id="sql-alterdomain-see-also">
660660
<!--==========================orignal english content==========================
661661
<title>See Also</title>
662662
____________________________________________________________________________-->

0 commit comments

Comments
 (0)