Skip to content

Commit b338746

Browse files
committed
Update pg_controldata.sgml
ref/pg_controldata.sgml调整内容191215 row6———————————————— 根据WinMerge比较结果,将 "<refentry id="APP-PGCONTROLDATA">" 调整为小写 "<refentry id="app-pgcontroldata">" row45———————————————— 根据WinMerge比较结果,将 "<arg choice="opt"><arg choice="opt"><option>-D</option></arg> <replaceable class="parameter">datadir</replaceable></arg>” 调整为新内容 "<group choice="opt"> <group choice="opt"> <arg choice="plain"><option>--pgdata</option></arg> <arg choice="plain"><option>-D</option></arg> </group> <replaceable class="parameter"> datadir</replaceable> </group>" row57 根据row45英文内容更新,将 "<arg choice="opt"><arg choice="opt"><option>-D</option></arg> <replaceable class="parameter">datadir</replaceable></arg>” 调整为新内容 "<group choice="opt"> <group choice="opt"> <arg choice="plain"><option>--pgdata</option></arg> <arg choice="plain"><option>-D</option></arg> </group> <replaceable class="parameter"> datadir</replaceable> </group>" row67———————————————— 根据WinMerge比较结果,将 "<refsect1 id="R1-APP-PGCONTROLDATA-1">" 调整为小写 " <refsect1 id="r1-app-pgcontroldata-1">" 其他更新 将英文原文中的</>补充相应tag
1 parent 31ab6c1 commit b338746

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

postgresql/doc/src/sgml/ref/pg_controldata.sgml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ doc/src/sgml/ref/pg_controldata.sgml
33
PostgreSQL documentation
44
-->
55

6-
<refentry id="APP-PGCONTROLDATA">
6+
<refentry id="app-pgcontroldata">
77
<!--==========================orignal english content==========================
88
<indexterm zone="app-pgcontroldata">
99
<primary>pg_controldata</primary>
@@ -42,25 +42,37 @@ ____________________________________________________________________________-->
4242
<cmdsynopsis>
4343
<command>pg_controldata</command>
4444
<arg choice="opt"><replaceable class="parameter">option</replaceable></arg>
45-
<arg choice="opt"><arg choice="opt"><option>-D</option></arg> <replaceable class="parameter">datadir</replaceable></arg>
45+
<group choice="opt">
46+
<group choice="opt">
47+
<arg choice="plain"><option>--pgdata</option></arg>
48+
<arg choice="plain"><option>-D</option></arg>
49+
</group>
50+
<replaceable class="parameter"> datadir</replaceable>
51+
</group>
4652
</cmdsynopsis>
4753
____________________________________________________________________________-->
4854
<cmdsynopsis>
4955
<command>pg_controldata</command>
5056
<arg choice="opt"><replaceable class="parameter">option</replaceable></arg>
51-
<arg choice="opt"><arg choice="opt"><option>-D</option></arg> <replaceable class="parameter">datadir</replaceable></arg>
57+
<group choice="opt">
58+
<group choice="opt">
59+
<arg choice="plain"><option>--pgdata</option></arg>
60+
<arg choice="plain"><option>-D</option></arg>
61+
</group>
62+
<replaceable class="parameter"> datadir</replaceable>
63+
</group>
5264
</cmdsynopsis>
5365
</refsynopsisdiv>
5466

55-
<refsect1 id="R1-APP-PGCONTROLDATA-1">
67+
<refsect1 id="r1-app-pgcontroldata-1">
5668
<!--==========================orignal english content==========================
5769
<title>Description</title>
5870
____________________________________________________________________________-->
5971
<title>描述</title>
6072
<!--==========================orignal english content==========================
6173
<para>
6274
<command>pg_controldata</command> prints information initialized during
63-
<command>initdb</>, such as the catalog version.
75+
<command>initdb</command>, such as the catalog version.
6476
It also shows information about write-ahead logging and checkpoint
6577
processing. This information is cluster-wide, and not specific to any one
6678
database.
@@ -75,10 +87,10 @@ ____________________________________________________________________________-->
7587
This utility can only be run by the user who initialized the cluster because
7688
it requires read access to the data directory.
7789
You can specify the data directory on the command line, or use
78-
the environment variable <envar>PGDATA</>. This utility supports the options
79-
<option>-V</> and <option>-&minus;version</>, which print the
90+
the environment variable <envar>PGDATA</envar>. This utility supports the options
91+
<option>-V</option> and <option>-&minus;version</option>, which print the
8092
<application>pg_controldata</application> version and exit. It also
81-
supports options <option>-?</> and <option>-&minus;help</>, which output the
93+
supports options <option>-?</option> and <option>-&minus;help</option>, which output the
8294
supported arguments.
8395
</para>
8496
____________________________________________________________________________-->

0 commit comments

Comments
 (0)