@@ -3,7 +3,7 @@ doc/src/sgml/ref/pg_controldata.sgml
3
3
PostgreSQL documentation
4
4
-->
5
5
6
- <refentry id="APP-PGCONTROLDATA ">
6
+ <refentry id="app-pgcontroldata ">
7
7
<!--==========================orignal english content==========================
8
8
<indexterm zone="app-pgcontroldata">
9
9
<primary>pg_controldata</primary>
@@ -42,25 +42,37 @@ ____________________________________________________________________________-->
42
42
<cmdsynopsis>
43
43
<command>pg_controldata</command>
44
44
<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>
46
52
</cmdsynopsis>
47
53
____________________________________________________________________________-->
48
54
<cmdsynopsis>
49
55
<command>pg_controldata</command>
50
56
<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>
52
64
</cmdsynopsis>
53
65
</refsynopsisdiv>
54
66
55
- <refsect1 id="R1-APP-PGCONTROLDATA -1">
67
+ <refsect1 id="r1-app-pgcontroldata -1">
56
68
<!--==========================orignal english content==========================
57
69
<title>Description</title>
58
70
____________________________________________________________________________-->
59
71
<title>描述</title>
60
72
<!--==========================orignal english content==========================
61
73
<para>
62
74
<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.
64
76
It also shows information about write-ahead logging and checkpoint
65
77
processing. This information is cluster-wide, and not specific to any one
66
78
database.
@@ -75,10 +87,10 @@ ____________________________________________________________________________-->
75
87
This utility can only be run by the user who initialized the cluster because
76
88
it requires read access to the data directory.
77
89
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>-−version</>, which print the
90
+ the environment variable <envar>PGDATA</envar >. This utility supports the options
91
+ <option>-V</option > and <option>-−version</option >, which print the
80
92
<application>pg_controldata</application> version and exit. It also
81
- supports options <option>-?</> and <option>-−help</>, which output the
93
+ supports options <option>-?</option > and <option>-−help</option >, which output the
82
94
supported arguments.
83
95
</para>
84
96
____________________________________________________________________________-->
0 commit comments