Skip to content

Commit 83c4c66

Browse files
committed
校验 config.sgml 的一部分:
1-37校验完成 第38条的 sig_en=d034de43e4c8c4ea269d2c6144a57d16 还未校验
1 parent 3eeb300 commit 83c4c66

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

postgresql/doc/src/sgml/config.sgml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ ________________________________________________________-->
506506
</para>
507507
________________________________________________________-->
508508
<para>
509-
<link linkend="sql-set"><command>SET</command></link>命令允许修改可以在会话中本地设置的参数的当前值;它对其他会话没有影响。
509+
那些可以在会话本地设置的参数,允许通过<link linkend="sql-set"><command>SET</command></link>命令修改当前会话的参数值;它对其他会话没有影响。
510510
许多参数可以通过任何用户以这种方式设置,但有些只能由超级用户和被授予该参数上<literal>SET</literal>特权的用户设置。
511511
相应的SQL函数是<function>set_config(setting_name, new_value, is_local)</function>
512512
(参见<xref linkend="functions-admin-set"/>)。
@@ -1196,7 +1196,7 @@ ________________________________________________________-->
11961196
</para>
11971197
________________________________________________________-->
11981198
<para>
1199-
指定服务器用于监听来自客户端应用程序的连接的TCP/IP地址。
1199+
指定服务器用于监听来自客户端应用程序的连接的TCP/IP地址(指服务器网卡IP地址)
12001200
该值采用逗号分隔的主机名和/或数字IP地址的形式。特殊条目<literal>*</literal>对应于所有可用的IP接口。
12011201
条目<literal>0.0.0.0</literal>允许监听所有IPv4地址,<literal>::</literal>允许监听所有IPv6地址。
12021202
如果列表为空,则服务器不会在任何IP接口上监听,此时只能使用Unix域套接字进行连接。
@@ -1395,9 +1395,9 @@ ________________________________________________________-->
13951395
</para>
13961396
________________________________________________________-->
13971397
<para>
1398-
以<literal>@</literal>开头的值指定应创建一个抽象命名空间中的Unix域套接字(目前仅在Linux上支持)。
1398+
以<literal>@</literal>开头的值指定应创建一个抽象命名空间中的 Unix-domain 套接字(目前仅在Linux上支持)。
13991399
在这种情况下,此值不指定一个<quote>目录</quote>,而是一个前缀,从中计算实际套接字名称的方式与文件系统命名空间相同。
1400-
虽然抽象套接字名称前缀可以自由选择因为它不是文件系统位置,但惯例上仍然使用类似文件系统的值,例如
1400+
虽然抽象套接字名称前缀可以自由选择因为它不是文件系统位置,但惯例上仍然使用类似文件系统的值,例如
14011401
<literal>@/tmp</literal>。
14021402
</para>
14031403
<!-- pgdoc-cn_end sig_en=a92ff4d1ef673ae8ed6fc4b5802f4e1e -->
@@ -5036,8 +5036,8 @@ ________________________________________________________-->
50365036
</para>
50375037
________________________________________________________-->
50385038
<para>
5039-
在<literal>逻辑</literal>级别上,记录与<literal>副本</literal>相同的信息,以及从WAL中提取逻辑变更集所需的信息。
5040-
使用<literal>逻辑</literal>级别会增加WAL的容量,特别是如果许多表被配置为<literal>REPLICA IDENTITY FULL</literal>,
5039+
在<literal>logical</literal>级别上,记录与<literal>replica</literal>相同的信息,以及从WAL中提取逻辑变更集所需的信息。
5040+
使用<literal>logical</literal>级别会增加WAL的容量,特别是如果许多表被配置为<literal>REPLICA IDENTITY FULL</literal>,
50415041
并且执行了许多<command>UPDATE</command>和<command>DELETE</command>语句。
50425042
</para>
50435043
<!-- pgdoc-cn_end sig_en=2e8e3399a43b7659559c96a0c3b230ca -->
@@ -5689,7 +5689,7 @@ ________________________________________________________-->
56895689
</indexterm>
56905690
</term>
56915691
________________________________________________________-->
5692-
<term><varname>wal_compression</varname> (<type>枚举</type>)
5692+
<term><varname>wal_compression</varname> (<type>枚举(enum)</type>)
56935693
<indexterm>
56945694
<primary><varname>wal_compression</varname>配置参数</primary>
56955695
</indexterm>
@@ -6494,7 +6494,7 @@ ________________________________________________________-->
64946494
</indexterm>
64956495
</term>
64966496
________________________________________________________-->
6497-
<term><varname>archive_library</varname>(<type>字符串</type>)
6497+
<term><varname>archive_library</varname>(<type>string</type>)
64986498
<indexterm>
64996499
<primary><varname>archive_library</varname>配置参数</primary>
65006500
</indexterm>
@@ -6632,7 +6632,7 @@ ________________________________________________________-->
66326632
</indexterm>
66336633
</term>
66346634
________________________________________________________-->
6635-
<term><varname>recovery_prefetch</varname> (<type>枚举</type>)
6635+
<term><varname>recovery_prefetch</varname> (<type>枚举(enum)</type>)
66366636
<indexterm>
66376637
<primary><varname>recovery_prefetch</varname>配置参数</primary>
66386638
</indexterm>
@@ -6688,7 +6688,7 @@ ________________________________________________________-->
66886688
</indexterm>
66896689
</term>
66906690
________________________________________________________-->
6691-
<term><varname>wal_decode_buffer_size</varname>(<type>整数</type>)
6691+
<term><varname>wal_decode_buffer_size</varname>(<type>integer</type>)
66926692
<indexterm>
66936693
<primary><varname>wal_decode_buffer_size</varname>配置参数</primary>
66946694
</indexterm>
@@ -7714,7 +7714,7 @@ ________________________________________________________-->
77147714
</para>
77157715
________________________________________________________-->
77167716
<para>
7717-
指定在检查点时,<link linkend="streaming-replication-slots">复制槽</link>允许在<filename>pg_wal</filename>目录中保留的WAL文件的最大大小。
7717+
指定在检查点时,<link linkend="streaming-replication-slots">replication slots(复制槽</link>允许在<filename>pg_wal</filename>目录中保留的WAL文件的最大大小。
77187718
如果<varname>max_slot_wal_keep_size</varname>为-1(默认值),复制槽可以保留无限量的WAL文件。否则,如果复制槽的restart_lsn落后于当前LSN超过给定大小,
77197719
使用该槽的备机可能由于所需的WAL文件被删除而无法继续复制。您可以在<link linkend="view-pg-replication-slots">pg_replication_slots</link>中查看复制槽的WAL可用性。
77207720
如果未指定单位,则此值将被视为兆字节。此参数只能在<filename>postgresql.conf</filename>文件或服务器命令行中设置。

0 commit comments

Comments
 (0)