Skip to content

Commit 55a72cd

Browse files
committed
pg 15.7初始翻译
1 parent 06041c4 commit 55a72cd

File tree

387 files changed

+150386
-114193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

387 files changed

+150386
-114193
lines changed

postgresql/doc/src/sgml/acronyms.sgml

Lines changed: 517 additions & 816 deletions
Large diffs are not rendered by default.

postgresql/doc/src/sgml/adminpack.sgml

Lines changed: 74 additions & 51 deletions
Large diffs are not rendered by default.

postgresql/doc/src/sgml/advanced.sgml

Lines changed: 211 additions & 143 deletions
Large diffs are not rendered by default.

postgresql/doc/src/sgml/amcheck.sgml

Lines changed: 163 additions & 151 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
1-
<!-- doc/src/sgml/obsolete-default-roles.sgml -->
1+
<!-- doc/src/sgml/appendix-obsolete-default-roles.sgml -->
22
<!--
3-
See doc/src/sgml/obsolete.sgml for why this file exists. Do not change the id attribute.
3+
See doc/src/sgml/appendix-obsolete.sgml for why this file exists. Do not change the id attribute.
44
-->
55

66
<sect1 id="default-roles" xreflabel="default-roles">
7-
<!--==========================orignal english content==========================
7+
<!-- pgdoc-cn_start sig_en=ef54b53c1a1fbd26764eae4015c72a82 sig_cn_org=None source=14.1
88
<title>Default Roles Renamed to Predefined Roles</title>
9-
____________________________________________________________________________-->
9+
________________________________________________________-->
1010
<title>默认角色重命名为预定义角色</title>
11+
<!-- pgdoc-cn_end sig_en=ef54b53c1a1fbd26764eae4015c72a82 -->
1112

12-
<!--==========================orignal english content==========================
13+
<!-- pgdoc-cn_start sig_en=cfc40801ae23ae607e6f30503a3f76f5 sig_cn_org=None source=14.1
1314
<indexterm>
1415
<primary>default-roles</primary>
1516
</indexterm>
16-
____________________________________________________________________________-->
17+
________________________________________________________-->
1718
<indexterm>
1819
<primary>默认-角色</primary>
1920
</indexterm>
21+
<!-- pgdoc-cn_end sig_en=cfc40801ae23ae607e6f30503a3f76f5 -->
2022

21-
<!--==========================orignal english content==========================
23+
<!-- pgdoc-cn_start sig_en=f24617a056925a291e7d30d0aa0ea7dc sig_cn_org=None source=14.1
2224
<para>
2325
PostgreSQL 13 and below used the term <quote>Default Roles</quote>. However, as these
2426
roles are not able to actually be changed and are installed as part of the
@@ -27,11 +29,12 @@ ____________________________________________________________________________-->
2729
Predefined Roles, and <link linkend="release-prior">the release notes for
2830
PostgreSQL 14</link> for details on this change.
2931
</para>
30-
____________________________________________________________________________-->
32+
________________________________________________________-->
3133
<para>
3234
PostgreSQL 13 和以下版本使用术语 <quote>Default Roles</quote>。
3335
但是,这些角色实际上不能被更改以及在初始化的时候作为系统的一部分来安装,所以更适合的术语为<quote>Predefined Roles</quote>
3436
当前文档关于预定义角色请参见<xref linkend="predefined-roles"/>,以及 <link linkend="release-prior">the release notes for PostgreSQL 14</link> 关于此变化的详情。
3537
</para>
38+
<!-- pgdoc-cn_end sig_en=f24617a056925a291e7d30d0aa0ea7dc -->
3639

3740
</sect1>
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
<!-- doc/src/sgml/obsolete-pgxlogdump.sgml -->
1+
<!-- doc/src/sgml/appendix-obsolete-pgreceivexlog.sgml -->
22
<!--
3-
See doc/src/sgml/obsolete.sgml for why this file exists. Do not change the id attribute.
3+
See doc/src/sgml/appendix-obsolete.sgml for why this file exists. Do not change the id attribute.
44
-->
55

66
<sect1 id="app-pgreceivexlog" xreflabel="pg_receivexlog">
7-
<!--==========================orignal english content==========================
7+
<!-- pgdoc-cn_start sig_en=752d28b968bf82b07f0fed87b5afaf34 sig_cn_org=None source=14.1
88
<title><command>pg_receivexlog</command> renamed to <command>pg_receivewal</command></title>
9-
____________________________________________________________________________-->
9+
________________________________________________________-->
1010
<title><command>pg_receivexlog</command> 重命名为 <command>pg_receivewal</command></title>
11+
<!-- pgdoc-cn_end sig_en=752d28b968bf82b07f0fed87b5afaf34 -->
1112

12-
<!--==========================orignal english content==========================
13+
<!-- pgdoc-cn_start sig_en=45a378a4d8525a68f6ac543d08d74c4d sig_cn_org=None source=14.1
1314
<indexterm>
1415
<primary>pg_receivexlog</primary>
1516
<see>pg_receivewal</see>
1617
</indexterm>
17-
____________________________________________________________________________-->
18+
________________________________________________________-->
1819
<indexterm>
1920
<primary>pg_receivexlog</primary>
2021
<see>pg_receivewal</see>
2122
</indexterm>
23+
<!-- pgdoc-cn_end sig_en=45a378a4d8525a68f6ac543d08d74c4d -->
2224

23-
<!--==========================orignal english content==========================
25+
<!-- pgdoc-cn_start sig_en=9aebb48ac1dbed14ce636170e001874c sig_cn_org=None source=14.1
2426
<para>
2527
PostgreSQL 9.6 and below provided a command named
2628
<command>pg_receivexlog</command>
@@ -30,11 +32,12 @@ ____________________________________________________________________________-->
3032
<link linkend="release-prior">the release notes for PostgreSQL 10</link> for details
3133
on this change.
3234
</para>
33-
____________________________________________________________________________-->
35+
________________________________________________________-->
3436
<para>
3537
PostgreSQL 9.6 及以下版本提供一个命令其名称为 <command>pg_receivexlog</command> <indexterm><primary>pg_receivexlog</primary></indexterm> 以获取 write-ahead-log (WAL) 文件。
3638
这个命令被重命名为<command>pg_receivewal</command>,<command>pg_receivewal</command>的文档请参见<xref linkend="app-pgreceivewal"/>,
3739
以及<link linkend="release-prior">the release notes for PostgreSQL 10</link>可了解关于此变更的详情。
3840
</para>
41+
<!-- pgdoc-cn_end sig_en=9aebb48ac1dbed14ce636170e001874c -->
3942

4043
</sect1>
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
<!-- doc/src/sgml/obsolete-pgresetxlog.sgml -->
1+
<!-- doc/src/sgml/appendix-obsolete-pgresetxlog.sgml -->
22
<!--
3-
See doc/src/sgml/obsolete.sgml for why this file exists. Do not change the id attribute.
3+
See doc/src/sgml/appendix-obsolete.sgml for why this file exists. Do not change the id attribute.
44
-->
55

66
<sect1 id="app-pgresetxlog" xreflabel="pg_resetxlog">
7-
<!--==========================orignal english content==========================
7+
<!-- pgdoc-cn_start sig_en=d1fbf1e1f1e5472c569d144cee0c0b08 sig_cn_org=None source=14.1
88
<title><command>pg_resetxlog</command> renamed to <command>pg_resetwal</command></title>
9-
____________________________________________________________________________-->
9+
________________________________________________________-->
1010
<title><command>pg_resetxlog</command> 重命名为 <command>pg_resetwal</command></title>
11+
<!-- pgdoc-cn_end sig_en=d1fbf1e1f1e5472c569d144cee0c0b08 -->
1112

12-
<!--==========================orignal english content==========================
13+
<!-- pgdoc-cn_start sig_en=61f8c599eb7940ab092e899b11cfc811 sig_cn_org=None source=14.1
1314
<indexterm>
1415
<primary>pg_resetxlog</primary>
1516
<see>pg_resetwal</see>
1617
</indexterm>
17-
____________________________________________________________________________-->
18+
________________________________________________________-->
1819
<indexterm>
1920
<primary>pg_resetxlog</primary>
2021
<see>pg_resetwal</see>
2122
</indexterm>
23+
<!-- pgdoc-cn_end sig_en=61f8c599eb7940ab092e899b11cfc811 -->
2224

23-
<!--==========================orignal english content==========================
25+
<!-- pgdoc-cn_start sig_en=d6ce1dee0fd45a4c3650fd7cc96d1ebb sig_cn_org=None source=14.1
2426
<para>
2527
PostgreSQL 9.6 and below provided a command named
2628
<command>pg_resetxlog</command>
@@ -30,11 +32,12 @@ ____________________________________________________________________________-->
3032
<link linkend="release-prior">the release notes for PostgreSQL 10</link> for details
3133
on this change.
3234
</para>
33-
____________________________________________________________________________-->
35+
________________________________________________________-->
3436
<para>
3537
PostgreSQL 9.6 及以下版本提供一个命令名为<command>pg_resetxlog</command> <indexterm><primary>pg_resetxlog</primary></indexterm> ,用以重置 write-ahead-log (WAL) 文件。
3638
这个命令被重命名为 <command>pg_resetwal</command>, 关于<command>pg_resetwal</command>的文档请参见<xref linkend="app-pgresetwal"/>,
3739
关于此变更的详情请参见<link linkend="release-prior">the release notes for PostgreSQL 10</link>。
3840
</para>
41+
<!-- pgdoc-cn_end sig_en=d6ce1dee0fd45a4c3650fd7cc96d1ebb -->
3942

4043
</sect1>
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
<!-- doc/src/sgml/obsolete-pgxlogdump.sgml -->
1+
<!-- doc/src/sgml/appendix-obsolete-pgxlogdump.sgml -->
22
<!--
3-
See doc/src/sgml/obsolete.sgml for why this file exists. Do not change the id attribute.
3+
See doc/src/sgml/appendix-obsolete.sgml for why this file exists. Do not change the id attribute.
44
-->
55

66
<sect1 id="pgxlogdump" xreflabel="pg_xlogdump">
7-
<!--==========================orignal english content==========================
7+
<!-- pgdoc-cn_start sig_en=08a056207f9353ac10655eefc22f7135 sig_cn_org=None source=14.1
88
<title><command>pg_xlogdump</command> renamed to <command>pg_waldump</command></title>
9-
____________________________________________________________________________-->
9+
________________________________________________________-->
1010
<title><command>pg_xlogdump</command> 重命名为 <command>pg_waldump</command></title>
11+
<!-- pgdoc-cn_end sig_en=08a056207f9353ac10655eefc22f7135 -->
1112

12-
<!--==========================orignal english content==========================
13+
<!-- pgdoc-cn_start sig_en=eff859cfb5a4506e0e5d45583966062a sig_cn_org=None source=14.1
1314
<indexterm>
1415
<primary>pg_xlogdump</primary>
1516
<see>pg_waldump</see>
1617
</indexterm>
17-
____________________________________________________________________________-->
18+
________________________________________________________-->
1819
<indexterm>
1920
<primary>pg_xlogdump</primary>
2021
<see>pg_waldump</see>
2122
</indexterm>
23+
<!-- pgdoc-cn_end sig_en=eff859cfb5a4506e0e5d45583966062a -->
2224

23-
<!--==========================orignal english content==========================
25+
<!-- pgdoc-cn_start sig_en=3460b01228cf4fc07d661d0fcc0875a0 sig_cn_org=None source=14.1
2426
<para>
2527
PostgreSQL 9.6 and below provided a command named
2628
<command>pg_xlogdump</command>
@@ -30,11 +32,12 @@ ____________________________________________________________________________-->
3032
<link linkend="release-prior">the release notes for PostgreSQL 10</link> for details
3133
on this change.
3234
</para>
33-
____________________________________________________________________________-->
35+
________________________________________________________-->
3436
<para>
3537
PostgreSQL 9.6 及以下版本提供一个命令名为<command>pg_xlogdump</command> <indexterm><primary>pg_xlogdump</primary></indexterm>,用以读取write-ahead-log (WAL)文件。
3638
这个命令被重命名为<command>pg_waldump</command>,<command>pg_waldump</command>的文档请见<xref linkend="pgwaldump"/>,
3739
关于此变更的详细信息请参见<link linkend="release-prior">the release notes for PostgreSQL 10</link>。
3840
</para>
41+
<!-- pgdoc-cn_end sig_en=3460b01228cf4fc07d661d0fcc0875a0 -->
3942

4043
</sect1>
Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
1-
<!-- doc/src/sgml/obsolete-recovery-config.sgml -->
1+
<!-- doc/src/sgml/appendix-obsolete-recovery-config.sgml -->
22
<!--
3-
See doc/src/sgml/obsolete.sgml for why this file exists. Do not change the id attribute.
3+
See doc/src/sgml/appendix-obsolete.sgml for why this file exists. Do not change the id attribute.
44
-->
55

66
<sect1 id="recovery-config" xreflabel="recovery.conf">
7-
<!--==========================orignal english content==========================
7+
<!-- pgdoc-cn_start sig_en=b13a1353385c727d860376288d89107c sig_cn_org=None source=14.1
88
<title><filename>recovery.conf</filename> file merged into <filename>postgresql.conf</filename></title>
9-
____________________________________________________________________________-->
9+
________________________________________________________-->
1010
<title><filename>recovery.conf</filename> 文件整合到 <filename>postgresql.conf</filename></title>
11+
<!-- pgdoc-cn_end sig_en=b13a1353385c727d860376288d89107c -->
1112

12-
<!--==========================orignal english content==========================
13-
<indexterm>
14-
<primary><filename>recovery.conf</filename></primary>
15-
</indexterm>
16-
____________________________________________________________________________-->
1713
<indexterm>
1814
<primary><filename>recovery.conf</filename></primary>
1915
</indexterm>
2016

21-
<!--==========================orignal english content==========================
17+
<!-- pgdoc-cn_start sig_en=129073378d29baf0d00f2b6a1d62802a sig_cn_org=None source=14.1
2218
<para>
2319
PostgreSQL 11 and below used a configuration file named
2420
<filename>recovery.conf</filename>
@@ -27,13 +23,14 @@ ____________________________________________________________________________-->
2723
<link linkend="release-prior">the release notes for PostgreSQL 12</link> for details
2824
on this change.
2925
</para>
30-
____________________________________________________________________________-->
26+
________________________________________________________-->
3127
<para>
3228
PostgreSQL 11 及以下版本使用配置文件名为 <filename>recovery.conf</filename> <indexterm><primary>recovery.conf</primary></indexterm>,以管理复制和备机。
3329
关于此命令的支持在PostgreSQL 12被移除。此变更的详细信息请参见<link linkend="release-prior">the release notes for PostgreSQL 12</link>。
3430
</para>
31+
<!-- pgdoc-cn_end sig_en=129073378d29baf0d00f2b6a1d62802a -->
3532

36-
<!--==========================orignal english content==========================
33+
<!-- pgdoc-cn_start sig_en=1ca1ee13fada35fd61998de1d64dc280 sig_cn_org=None source=14.1
3734
<para>
3835
On PostgreSQL 12 and above,
3936
<link linkend="continuous-archiving">archive recovery, streaming replication, and PITR</link>
@@ -43,22 +40,24 @@ ____________________________________________________________________________-->
4340
<link linkend="sql-altersystem">ALTER SYSTEM</link>
4441
like any other parameter.
4542
</para>
46-
____________________________________________________________________________-->
43+
________________________________________________________-->
4744
<para>
4845
在PostgreSQL 12 及以上版本,<link linkend="continuous-archiving">archive recovery, streaming replication, and PITR</link>使用<link linkend="runtime-config-replication-standby">normal server configuration parameters</link>进行配置。
4946
这些在<filename>postgresql.conf</filename>中设置或像其他参数一样通过<link linkend="sql-altersystem">ALTER SYSTEM</link>进行设置。
5047
</para>
48+
<!-- pgdoc-cn_end sig_en=1ca1ee13fada35fd61998de1d64dc280 -->
5149

52-
<!--==========================orignal english content==========================
50+
<!-- pgdoc-cn_start sig_en=03d35e3888060d2653f99a17978a15b3 sig_cn_org=None source=14.1
5351
<para>
5452
The server will not start if a <filename>recovery.conf</filename> exists.
5553
</para>
56-
____________________________________________________________________________-->
54+
________________________________________________________-->
5755
<para>
5856
如果<filename>recovery.conf</filename> 存在则服务器不会启动。
5957
</para>
58+
<!-- pgdoc-cn_end sig_en=03d35e3888060d2653f99a17978a15b3 -->
6059

61-
<!--==========================orignal english content==========================
60+
<!-- pgdoc-cn_start sig_en=eaa2e92c889c5ae1848892392c7dca48 sig_cn_org=None source=14.1
6261
<para>
6362
The
6463
<literal>trigger_file</literal>
@@ -69,7 +68,7 @@ ____________________________________________________________________________-->
6968
setting has been renamed to
7069
<xref linkend="guc-promote-trigger-file"/>.
7170
</para>
72-
____________________________________________________________________________-->
71+
________________________________________________________-->
7372
<para>
7473
The
7574
<literal>trigger_file</literal>
@@ -79,8 +78,9 @@ ____________________________________________________________________________-->
7978
</indexterm>
8079
设置被重命名为 <xref linkend="guc-promote-trigger-file"/>。
8180
</para>
81+
<!-- pgdoc-cn_end sig_en=eaa2e92c889c5ae1848892392c7dca48 -->
8282

83-
<!--==========================orignal english content==========================
83+
<!-- pgdoc-cn_start sig_en=c336201bdc8d10fb3c85472d65e4615f sig_cn_org=None source=14.1
8484
<para>
8585
The
8686
<literal>standby_mode</literal>
@@ -91,7 +91,7 @@ ____________________________________________________________________________-->
9191
setting has been removed. A <filename>standby.signal</filename> file in the data directory
9292
is used instead. See <xref linkend="standby-server-operation"/> for details.
9393
</para>
94-
____________________________________________________________________________-->
94+
________________________________________________________-->
9595
<para>
9696
The
9797
<literal>standby_mode</literal>
@@ -101,5 +101,6 @@ ____________________________________________________________________________-->
101101
</indexterm>
102102
设置已经被移除。数据目录中的<filename>standby.signal</filename> 文件用于替代它。详请参见<xref linkend="standby-server-operation"/>。
103103
</para>
104+
<!-- pgdoc-cn_end sig_en=c336201bdc8d10fb3c85472d65e4615f -->
104105

105106
</sect1>

postgresql/doc/src/sgml/appendix-obsolete.sgml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
1-
<!-- doc/src/sgml/obsolete.sgml -->
1+
<!-- doc/src/sgml/appendix-obsolete.sgml -->
22

33
<appendix id="appendix-obsolete">
4-
<!--==========================orignal english content==========================
4+
<!-- pgdoc-cn_start sig_en=59b02c7f7f92306f855073a755bfde17 sig_cn_org=None source=14.1
55
<title>Obsolete or Renamed Features</title>
6-
____________________________________________________________________________-->
6+
________________________________________________________-->
77
<title>废弃或重命名的特性</title>
8+
<!-- pgdoc-cn_end sig_en=59b02c7f7f92306f855073a755bfde17 -->
89

9-
<!--==========================orignal english content==========================
10+
<!-- pgdoc-cn_start sig_en=a943c089991c782eb4c1cfb9c8555b7d sig_cn_org=None source=14.1
1011
<para>
1112
Functionality is sometimes removed from PostgreSQL, feature, setting
1213
and file names sometimes change, or documentation moves to different
1314
places. This section directs users coming from old versions of the
1415
documentation or from external links to the appropriate new location
1516
for the information they need.
1617
</para>
17-
____________________________________________________________________________-->
18+
________________________________________________________-->
1819
<para>
1920
函数有时会从PostgreSQL中移除,特性、设置和文件名有时也会变化,或者文档会转移到不同的地方。
2021
本节指导来自旧版本文档或外部链接的用户到适当的新位置来获取他们需要的信息。
2122
</para>
23+
<!-- pgdoc-cn_end sig_en=a943c089991c782eb4c1cfb9c8555b7d -->
2224

2325
<!--
2426
This section exists so that people following /current/ links to documentation

0 commit comments

Comments
 (0)