Skip to content

Commit b3232c9

Browse files
committed
修复sgml编译错误
1 parent 500ff32 commit b3232c9

File tree

12 files changed

+33
-24
lines changed

12 files changed

+33
-24
lines changed

postgresql/doc/src/sgml/ref/pg_ctl-ref.sgml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,15 @@ ____________________________________________________________________________-->
190190
<arg choice="opt"><option>-s</option></arg>
191191
</cmdsynopsis>
192192
____________________________________________________________________________-->
193+
<cmdsynopsis>
194+
<command>pg_ctl</command>
195+
<arg choice="plain"><option>promote</option></arg>
196+
<arg choice="opt"><option>-D</option> <replaceable>datadir</replaceable></arg>
197+
<arg choice="opt"><option>-W</option></arg>
198+
<arg choice="opt"><option>-t</option> <replaceable>seconds</replaceable></arg>
199+
<arg choice="opt"><option>-s</option></arg>
200+
</cmdsynopsis>
201+
<!--==========================orignal english content==========================
193202
<cmdsynopsis>
194203
<command>pg_ctl</command>
195204
<arg choice="plain"><option>logrotate</option></arg>

postgresql/doc/src/sgml/ref/pg_dumpall.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ ____________________________________________________________________________-->
787787
<para>
788788
不要转储名字与 <replaceable class="parameter">pattern</replaceable> 匹配的数据库。可以通过编写多个<option>--exclude-database</option>开关来排除多个模式。
789789
<replaceable class="parameter">pattern</replaceable>参数被解释为模式,根据<application>psql</application>的<literal>\d</literal>命令使用的相同规则
790-
(参见 <xreflinkend="app-psql-patterns" endterm="app-psql-patterns-title"/>),因此,通过在模式中编写通配符也可以排除多个数据库。
790+
(参见 <xref linkend="app-psql-patterns" endterm="app-psql-patterns-title"/>),因此,通过在模式中编写通配符也可以排除多个数据库。
791791
使用通配符时,请谨慎的引用模式,如果需要防止shell通配符扩展。
792792
</para>
793793
</listitem>

postgresql/doc/src/sgml/ref/pg_recvlogical.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,6 @@ ____________________________________________________________________________-->
761761
<para>
762762
和大部分其他<productname>PostgreSQL</productname>工具相似,这个工具也使用<application>libpq</application>(见<xref linkend="libpq-envars"/>)支持的环境变量。
763763
</para>
764-
</refsect1>
765764

766765
<!--==========================orignal english content==========================
767766
<para>
@@ -774,6 +773,7 @@ ____________________________________________________________________________-->
774773
<para>
775774
环境变量<envar>PG_COLOR</envar>规定在诊断消息中是否使用颜色。可能的值为<literal>always</literal>、<literal>auto</literal>、<literal>never</literal>。
776775
</para>
776+
</refsect1>
777777

778778
<refsect1>
779779
<!--==========================orignal english content==========================

postgresql/doc/src/sgml/ref/pg_rewind.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ ____________________________________________________________________________-->
255255

256256
<varlistentry>
257257
<term><option>-N</option></term>
258-
<term><option>--no-sync</option></term>
258+
<term><option>-&minus;no-sync</option></term>
259259
<listitem>
260260
<para>
261261
By default, <command>pg_rewind</command> will wait for all files

postgresql/doc/src/sgml/ref/psql-ref.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ EOF
266266

267267
<varlistentry>
268268
<!--==========================orignal english content==========================
269-
<term><option>--csv</option></term>
269+
<term><option>-&minus;csv</option></term>
270270
____________________________________________________________________________-->
271271
<term><option>--csv</option></term>
272272
<listitem>
@@ -3989,7 +3989,6 @@ ____________________________________________________________________________-->
39893989

39903990
<varlistentry>
39913991
<term><literal>\c</literal> or <literal>\connect [ -reuse-previous=<replaceable class="parameter">on|off</replaceable> ] [ <replaceable class="parameter">dbname</replaceable> [ <replaceable class="parameter">username</replaceable> ] [ <replaceable class="parameter">host</replaceable> ] [ <replaceable class="parameter">port</replaceable> ] | <replaceable class="parameter">conninfo</replaceable> ]</literal></term>
3992-
如果<literal>hostaddr</literal>是在初始连接<structname>conninfo</structname>中指定的,该地址被重新用于新连接(不考虑任何其他主机规范)。
39933992
<listitem>
39943993
<para>
39953994
与一台<productname>PostgreSQL</productname>服务器建立一个新连接。可以使用位置语法指定要使用的连接参数,或者使用<xref linkend="libpq-connstring"/>中详细介绍的<replaceable>conninfo</replaceable>连接串。

postgresql/doc/src/sgml/ref/reindex.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ ____________________________________________________________________________-->
295295
<para>
296296
使用此选项时,<productname>PostgreSQL</productname> 将重建索引,而不在表上采取任何阻止并发插入、更新或删除的锁;
297297
标准的索引重建将会锁定表上的写操作(而不是读操作),直到它完成。
298-
使用此选项&mdash时,有几个事项需要注意;请参阅<xref linkend="sql-reindex-concurrently" endterm="sql-reindex-concurrently-title"/>。
298+
使用此选项&mdash;时,有几个事项需要注意;请参阅<xref linkend="sql-reindex-concurrently" endterm="sql-reindex-concurrently-title"/>。
299299
</para>
300300
<!--==========================orignal english content==========================
301301
<para>

postgresql/doc/src/sgml/ref/reindexdb.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ ____________________________________________________________________________-->
218218
</varlistentry>
219219

220220
<varlistentry>
221-
<term><option>--concurrently</option></term>
221+
<term><option>-&minus;concurrently</option></term>
222222
<listitem>
223223
<para>
224224
Use the <literal>CONCURRENTLY</literal> option. See <xref

postgresql/doc/src/sgml/ref/select.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ ____________________________________________________________________________-->
543543
</para>
544544
____________________________________________________________________________-->
545545
<para>
546-
当<literal>WITH</literal>子句中有多个查询时,teral>RECURSIVE</literal>应只编写一次,紧跟在<literal>WITH</literal>之后。
546+
当<literal>WITH</literal>子句中有多个查询时,<literal>RECURSIVE</literal>应只编写一次,紧跟在<literal>WITH</literal>之后。
547547
它适用于<literal>WITH</literal>子句中的所有查询,尽管它对不使用递归或前向引用的查询没有影响。
548548
</para>
549549

postgresql/doc/src/sgml/ref/vacuumdb.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ ____________________________________________________________________________-->
169169
</varlistentry>
170170

171171
<varlistentry>
172-
<term><option>--disable-page-skipping</option></term>
172+
<term><option>-&minus;disable-page-skipping</option></term>
173173
<listitem>
174174
<para>
175175
Disable skipping pages based on the contents of the visibility map.
@@ -239,7 +239,7 @@ ____________________________________________________________________________-->
239239
</varlistentry>
240240

241241
<varlistentry>
242-
<term><option>--min-mxid-age <replaceable class="parameter">mxid_age</replaceable></option></term>
242+
<term><option>-&minus;in-mxid-age <replaceable class="parameter">mxid_age</replaceable></option></term>
243243
<listitem>
244244
<para>
245245
Only execute the vacuum or analyze commands on tables with a multixact
@@ -266,7 +266,7 @@ ____________________________________________________________________________-->
266266
</varlistentry>
267267

268268
<varlistentry>
269-
<term><option>--min-xid-age <replaceable class="parameter">xid_age</replaceable></option></term>
269+
<term><option>-&minus;min-xid-age <replaceable class="parameter">xid_age</replaceable></option></term>
270270
<listitem>
271271
<para>
272272
Only execute the vacuum or analyze commands on tables with a
@@ -303,7 +303,7 @@ ____________________________________________________________________________-->
303303
</varlistentry>
304304

305305
<varlistentry>
306-
<term><option>--skip-locked</option></term>
306+
<term><option>-&minus;skip-locked</option></term>
307307
<listitem>
308308
<para>
309309
Skip relations that cannot be immediately locked for processing.
@@ -844,6 +844,7 @@ ____________________________________________________________________________-->
844844
</varlistentry>
845845
</variablelist>
846846

847+
<variablelist>
847848
<varlistentry>
848849
<!--==========================orignal english content==========================
849850
<term><envar>PG_COLOR</envar></term>

postgresql/doc/src/sgml/storage.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ ____________________________________________________________________________-->
373373
</para>
374374
____________________________________________________________________________-->
375375
<para>
376-
注意后续章节描述了内置的<literal>heap</literal> <link linkend="tableam">table access method</link>的行为,和内置 <link linkend="indexam">索引访问方法。
377-
由于"<productname>PostgreSQL</productname>的可扩展特性,其他访问方法的工作方式可能不同。
376+
注意后续章节描述了内置的<literal>heap</literal> <link linkend="tableam">表访问方法</link>的行为,和内置 <link linkend="indexam">索引访问方法</link>
377+
由于<productname>PostgreSQL</productname>的可扩展特性,其他访问方法的工作方式可能不同。
378378
</para>
379379

380380
<!--==========================orignal english content==========================
@@ -429,7 +429,7 @@ When a table or index exceeds 1 GB, it is divided into gigabyte-sized
429429
filenode; subsequent segments are named filenode.1, filenode.2, etc.
430430
This arrangement avoids problems on platforms that have file size limitations.
431431
(Actually, 1 GB is just the default segment size. The segment size can be
432-
adjusted using the configuration option <option>-&minus;with-segsize</option>
432+
adjusted using the configuration option <option>-&minus;minuwith-segsize</option>
433433
when building <productname>PostgreSQL</productname>.)
434434
In principle, free space map and visibility map forks could require multiple
435435
segments as well, though this is unlikely to happen in practice.
@@ -1666,7 +1666,7 @@ ____________________________________________________________________________-->
16661666

16671667
所有表行都用同样方法构造。它们有一个定长的头部(在大多数机器上占据 23 个字节), 后面跟着一个可选的空值位图、一个可选的对象 ID 域以及用户数据。 该头部在<xref linkend="heaptupleheaderdata-table"/>里详细描述。实际的用户数据(行的列)从<structfield>t_hoff</structfield>指示的偏移位置开始, 它必须总是该平台的 MAXALIGN 距离的倍数。空值位图只有在<structfield>t_infomask</structfield>中的<firstterm>HEAP_HASNULL</firstterm>位被设置时存在。
16681668
如果存在,那么它紧跟在定长的头部后面,并占据足够的字节来容纳每个数据列对应的一个位(也就是说,位数等于<structfield>t_infomask2</structfield>中的属性计数。)。 在这个位的列表中,为 1 的位表示非空,而为 0 的位表示空。如果这个位图不存在,那么所有列都被假设为非空的。
1669-
对象 ID 只有在设置了 <structfield>t_infomask</structfield>里面的<firstterm>HEAP_HASOID_OLD位时才存在
1669+
对象 ID 只有在设置了 <structfield>t_infomask</structfield>里面的<firstterm>HEAP_HASOID_OLD</firstterm>位时才存在
16701670
如果存在,它正好出现在<structfield>t_hoff</structfield>边界之前。如果需要对齐<structfield>t_hoff</structfield>使之成为 MAXALIGN 的倍数,那么填充将出现在空值位图和对象 ID 之间(这样也保证了对象 ID 得到恰当的对齐)。
16711671

16721672
</para>

0 commit comments

Comments
 (0)