Skip to content

Commit 224c31d

Browse files
committed
finish reviewing section 1.
1 parent 87f6edd commit 224c31d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

postgresql/doc/src/sgml/datatype.sgml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@
640640
-->
641641
<para>
642642
数值类型常量的语法在<xref linkend="sql-syntax-constants">里描述。
643-
数值类型对应有一套完整的数学操作符和函数。相关信息请参考<xref linkend="functions">。
643+
对应数值类型有一套完整的数学操作符和函数。相关信息请参考<xref linkend="functions">。
644644
下面的几节详细描述这些类型。
645645
</para>
646646

@@ -653,7 +653,7 @@
653653
<!--
654654
<primary>integer</primary>
655655
-->
656-
<primary>整数</primary>
656+
<primary>整型</primary>
657657
</indexterm>
658658

659659
<indexterm zone="datatype-int">
@@ -688,8 +688,8 @@
688688
</para>
689689
-->
690690
<para>
691-
<type>smallint</type>,<type>integer</type>和<type>bigint</type>类型存储各种范围的全部是数字的数
692-
也就是没有小数部分的数字。试图存储超出范围以外的数值将导致一个错误
691+
<type>smallint</type>,<type>integer</type>和<type>bigint</type>类型存储各种取值范围的整数
692+
即,没有小数部分的数字。试图存储超出取值范围以外的数值将导致一个错误
693693
</para>
694694

695695
<!--
@@ -702,9 +702,9 @@
702702
</para>
703703
-->
704704
<para>
705-
常用的类型是<type>integer</type>,因为它提供了在范围、存储空间、性能之间的最佳平衡
705+
常用的类型是<type>integer</type>,因为它在取值范围、存储空间、性能之间最为平衡
706706
一般只有在磁盘空间紧张的时候才使用<type>smallint</type>。
707-
当<type>integer</type>的范围不够的时候才使用<type>bigint</type>。
707+
当<type>integer</type>的取值范围不够用的时候才使用<type>bigint</type>。
708708
</para>
709709

710710
<!--
@@ -718,9 +718,9 @@
718718
</para>
719719
-->
720720
<para>
721-
<acronym>SQL</acronym>只声明了整数类型<type>integer</type>(或<type>int</type>),
722-
<type>smallint</type>和<type>bigint</type>。类型<type>int2</type>, <type>int4</type>
723-
和<type>int8</type>都是扩展,并且也在许多其它<acronym>SQL</acronym>数据库系统中使用
721+
<acronym>SQL</acronym>标准只定义了整型<type>integer</type>(或<type>int</type>),
722+
<type>smallint</type>和<type>bigint</type>。名为<type>int2</type>, <type>int4</type>
723+
和<type>int8</type>的类型都是扩展,它们也在许多其它符合<acronym>SQL</acronym>标准的数据库系统中使用
724724
</para>
725725

726726
</sect2>

0 commit comments

Comments
 (0)