Skip to content

Commit b09bedd

Browse files
author
chegong18
committed
Update ref/initdb.sgml-200605
——row304至307,调整英文内容为: may incur a noticeable performance penalty. If set, checksums are calculated for all objects, in all databases. All checksum failures will be reported in the <xref linkend="pg-stat-database-view"/> view. ——row530至531,调整翻译内容为: 在数据页面上使用校验码来帮助检测 I/O 系统造成的损坏。启用校验码将会引起显著的性能惩罚。如果设置,则为所有对象计算校验和,在整个数据库中。 所有校验和失败都将报告在<xref linkend="pg-stat-database-view"/> 视图。 ——row820至837,增加英文和翻译内容为: <varlistentry> <!--==========================orignal english content========================== <term><envar>PG_COLOR</envar></term> ____________________________________________________________________________--> <term><envar>PG_COLOR</envar></term> <listitem> <!--==========================orignal english content========================== <para> Specifies whether to use color in diagnostics messages. Possible values are <literal>always</literal>, <literal>auto</literal>, <literal>never</literal>. </para> ____________________________________________________________________________--> <para> 规定在诊断消息中是否使用颜色。可能的值为<literal>always</literal>、 <literal>auto</literal>和<literal>never</literal>。 </para> </listitem> </varlistentry>
1 parent 72611c2 commit b09bedd

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

postgresql/doc/src/sgml/ref/initdb.sgml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ____________________________________________________________________________-->
1212
<indexterm zone="app-initdb">
1313
<primary>initdb</primary>
1414
</indexterm>
15-
15+
1616
<!--==========================orignal english content==========================
1717
<refmeta>
1818
<refentrytitle>initdb</refentrytitle>
@@ -301,9 +301,10 @@ ____________________________________________________________________________-->
301301
<para>
302302
Use checksums on data pages to help detect corruption by the
303303
I/O system that would otherwise be silent. Enabling checksums
304-
may incur a noticeable performance penalty. This option can only
305-
be set during initialization, and cannot be changed later. If
306-
set, checksums are calculated for all objects, in all databases.
304+
may incur a noticeable performance penalty. If set, checksums
305+
are calculated for all objects, in all databases. All checksum
306+
failures will be reported in the
307+
<xref linkend="pg-stat-database-view"/> view.
307308
</para>
308309
</listitem>
309310
</varlistentry>
@@ -526,7 +527,8 @@ ____________________________________________________________________________-->
526527
<term><option>--data-checksums</option></term>
527528
<listitem>
528529
<para>
529-
在数据页面上使用校验码来帮助检测 I/O 系统造成的损坏。启用校验码将会引起显著的性能惩罚。这个选项只能在初始化期间被设置,并且以后不能修改。如果被设置,在所有数据库中会为所有对象计算校验码。
530+
在数据页面上使用校验码来帮助检测 I/O 系统造成的损坏。启用校验码将会引起显著的性能惩罚。如果设置,则为所有对象计算校验和,在整个数据库中。
531+
所有校验和失败都将报告在<xref linkend="pg-stat-database-view"/> 视图。
530532
</para>
531533
</listitem>
532534
</varlistentry>
@@ -814,7 +816,26 @@ ____________________________________________________________________________-->
814816
</para>
815817
</listitem>
816818
</varlistentry>
817-
819+
820+
<varlistentry>
821+
<!--==========================orignal english content==========================
822+
<term><envar>PG_COLOR</envar></term>
823+
____________________________________________________________________________-->
824+
<term><envar>PG_COLOR</envar></term>
825+
<listitem>
826+
<!--==========================orignal english content==========================
827+
<para>
828+
Specifies whether to use color in diagnostics messages. Possible values
829+
are <literal>always</literal>, <literal>auto</literal>,
830+
<literal>never</literal>.
831+
</para>
832+
____________________________________________________________________________-->
833+
<para>
834+
规定在诊断消息中是否使用颜色。可能的值为<literal>always</literal>、 <literal>auto</literal>和<literal>never</literal>。
835+
</para>
836+
</listitem>
837+
</varlistentry>
838+
818839
<varlistentry>
819840
<!--==========================orignal english content==========================
820841
<term><envar>TZ</envar></term>

0 commit comments

Comments
 (0)