|
4 | 4 | -->
|
5 | 5 |
|
6 | 6 | <sect1 id="recovery-config" xreflabel="recovery.conf">
|
| 7 | +<!--==========================orignal english content========================== |
7 | 8 | <title><filename>recovery.conf</filename> file merged into <filename>postgresql.conf</filename></title>
|
| 9 | +____________________________________________________________________________--> |
| 10 | + <title><filename>recovery.conf</filename> 文件整合到 <filename>postgresql.conf</filename></title> |
8 | 11 |
|
| 12 | +<!--==========================orignal english content========================== |
| 13 | + <indexterm> |
| 14 | + <primary><filename>recovery.conf</filename></primary> |
| 15 | + </indexterm> |
| 16 | +____________________________________________________________________________--> |
9 | 17 | <indexterm>
|
10 | 18 | <primary><filename>recovery.conf</filename></primary>
|
11 | 19 | </indexterm>
|
12 | 20 |
|
| 21 | +<!--==========================orignal english content========================== |
13 | 22 | <para>
|
14 | 23 | PostgreSQL 11 and below used a configuration file named
|
15 | 24 | <filename>recovery.conf</filename>
|
|
18 | 27 | <link linkend="release-prior">the release notes for PostgreSQL 12</link> for details
|
19 | 28 | on this change.
|
20 | 29 | </para>
|
| 30 | +____________________________________________________________________________--> |
| 31 | + <para> |
| 32 | + PostgreSQL 11 及以下版本使用配置文件名为 <filename>recovery.conf</filename> <indexterm><primary>recovery.conf</primary></indexterm>,以管理复制和备机。 |
| 33 | + 关于此命令的支持在PostgreSQL 12被移除。此变更的详细信息请参见<link linkend="release-prior">the release notes for PostgreSQL 12</link>。 |
| 34 | + </para> |
21 | 35 |
|
| 36 | +<!--==========================orignal english content========================== |
22 | 37 | <para>
|
23 | 38 | On PostgreSQL 12 and above,
|
24 | 39 | <link linkend="continuous-archiving">archive recovery, streaming replication, and PITR</link>
|
|
28 | 43 | <link linkend="sql-altersystem">ALTER SYSTEM</link>
|
29 | 44 | like any other parameter.
|
30 | 45 | </para>
|
| 46 | +____________________________________________________________________________--> |
| 47 | + <para> |
| 48 | + 在PostgreSQL 12 及以上版本,<link linkend="continuous-archiving">archive recovery, streaming replication, and PITR</link>使用<link linkend="runtime-config-replication-standby">normal server configuration parameters</link>进行配置。 |
| 49 | + 这些在<filename>postgresql.conf</filename>中设置或像其他参数一样通过<link linkend="sql-altersystem">ALTER SYSTEM</link>进行设置。 |
| 50 | + </para> |
31 | 51 |
|
| 52 | +<!--==========================orignal english content========================== |
32 | 53 | <para>
|
33 | 54 | The server will not start if a <filename>recovery.conf</filename> exists.
|
34 | 55 | </para>
|
| 56 | +____________________________________________________________________________--> |
| 57 | + <para> |
| 58 | + 如果<filename>recovery.conf</filename> 存在则服务器不会启动。 |
| 59 | + </para> |
35 | 60 |
|
| 61 | +<!--==========================orignal english content========================== |
36 | 62 | <para>
|
37 | 63 | The
|
38 | 64 | <literal>trigger_file</literal>
|
|
43 | 69 | setting has been renamed to
|
44 | 70 | <xref linkend="guc-promote-trigger-file"/>.
|
45 | 71 | </para>
|
| 72 | +____________________________________________________________________________--> |
| 73 | + <para> |
| 74 | + The |
| 75 | + <literal>trigger_file</literal> |
| 76 | + <indexterm> |
| 77 | + <primary>trigger_file</primary> |
| 78 | + <see>promote_trigger_file</see> |
| 79 | + </indexterm> |
| 80 | + 设置被重命名为 <xref linkend="guc-promote-trigger-file"/>。 |
| 81 | + </para> |
46 | 82 |
|
| 83 | +<!--==========================orignal english content========================== |
47 | 84 | <para>
|
48 | 85 | The
|
49 | 86 | <literal>standby_mode</literal>
|
|
54 | 91 | setting has been removed. A <filename>standby.signal</filename> file in the data directory
|
55 | 92 | is used instead. See <xref linkend="standby-server-operation"/> for details.
|
56 | 93 | </para>
|
| 94 | +____________________________________________________________________________--> |
| 95 | + <para> |
| 96 | + The |
| 97 | + <literal>standby_mode</literal> |
| 98 | + <indexterm> |
| 99 | + <primary>standby_mode</primary> |
| 100 | + <see>standby.signal</see> |
| 101 | + </indexterm> |
| 102 | + 设置已经被移除。数据目录中的<filename>standby.signal</filename> 文件用于替代它。详请参见<xref linkend="standby-server-operation"/>。 |
| 103 | + </para> |
57 | 104 |
|
58 | 105 | </sect1>
|
0 commit comments