Skip to content

Commit 16d7121

Browse files
committed
fix编译错误
1 parent c48d72b commit 16d7121

File tree

12 files changed

+23
-18
lines changed

12 files changed

+23
-18
lines changed

postgresql/doc/src/sgml/btree.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ ____________________________________________________________________________-->
10361036
在 MVCC下B-Tree索引不能直接感知,同一个逻辑表行可能存在多个现存版本;对于一个索引来说,每个元组都是一个需要其自己的索引条目的独立的对象。
10371037
<quote>Version churn</quote>元组有时可能会积累,并且对查询延迟和吞吐量产生影响。
10381038
这通常发生在<command>UPDATE</command>较为繁重的工作负载中,其中大多数单独的更新不能应用<acronym>HOT</acronym>优化。
1039-
在<command>UPDATE</command>更改仅一个被一个索引覆盖的列期间,<emphasis>总是</emphasis> 需要一个新的索引元组 &mdash一个用于表上的<emphasis>each and every</emphasis>索引。
1039+
在<command>UPDATE</command>更改仅一个被一个索引覆盖的列期间,<emphasis>总是</emphasis> 需要一个新的索引元组 &mdash;一个用于表上的<emphasis>each and every</emphasis>索引。
10401040
特别注意,这包括没有被<command>UPDATE</command>进行<quote>logically modified</quote>的索引。
10411041
所有索引将需要一个后继的物理索引元组,用于指向表中的最新版本。
10421042
每个索引中的每个新元组通常需要与原始的<quote>updated</quote>元组共存很短一段时间(通常直到<command>UPDATE</command>事务提交后不久)。

postgresql/doc/src/sgml/catalogs.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25284,7 +25284,7 @@ ____________________________________________________________________________-->
2528425284
</para>
2528525285
____________________________________________________________________________-->
2528625286
<para>
25287-
<structname>pg_stats_ext_exprs</structname>也被设计为以比底层目录更方便阅读的格式来展现信息 &mdash相应的代价是当 <structname>pg_statistic_ext</structname>中的统计信息的结构发生改变时,必须扩展其模式。
25287+
<structname>pg_stats_ext_exprs</structname>也被设计为以比底层目录更方便阅读的格式来展现信息 &mdash; 相应的代价是当 <structname>pg_statistic_ext</structname>中的统计信息的结构发生改变时,必须扩展其模式。
2528825288
</para>
2528925289

2529025290
<table>
@@ -25595,7 +25595,7 @@ ____________________________________________________________________________-->
2559525595
<para>
2559625596
表达式的值的物理行排序和逻辑排序之间的统计相关性。这个范围从-1 到 +1。
2559725597
当该值接近-1或+1时,对表达式的索引扫描预计要比接近零的时候更便宜,因为减少了对磁盘的随机访问。
25598-
(如果表达式的数据类型没有<literal>&lt;</literal><操作符,则该表达式为空。)
25598+
(如果表达式的数据类型没有<literal>&lt;</literal>操作符,则该表达式为空。)
2559925599
</para></entry>
2560025600
</row>
2560125601

postgresql/doc/src/sgml/client-auth.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ hostnogssenc <replaceable>database</replaceable> <replaceable>user</replaceabl
692692
format. To see the <literal>DN</literal> of a client certificate
693693
in this format, do
694694
<programlisting>
695-
openssl x509 -in myclient.crt -noout --subject -nameopt RFC2253 | sed "s/^subject=//"
695+
openssl x509 -in myclient.crt -noout -&minus;subject -nameopt RFC2253 | sed "s/^subject=//"
696696
</programlisting>
697697
Care needs to be taken when using this option, especially when using
698698
regular expression matching against the <literal>DN</literal>.

postgresql/doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,7 @@ ____________________________________________________________________________-->
18851885
<filename>FILE:/usr/local/pgsql/etc/krb5.keytab</filename>
18861886
(where the directory part is whatever was specified
18871887
as <varname>sysconfdir</varname> at build time; use
1888-
<literal>pg_config --sysconfdir</literal> to determine that).
1888+
<literal>pg_config -&minus;sysconfdir</literal> to determine that).
18891889
If this parameter is set to an empty string, it is ignored and a
18901890
system-dependent default is used.
18911891
This parameter can only be set in the

postgresql/doc/src/sgml/indices.sgml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ ____________________________________________________________________________-->
253253
<primary>B-Tree</primary>
254254
<see>index</see>
255255
</indexterm>
256-
B-tree可以在可排序数据上的处理等值和范围查询。特别地,<productname>PostgreSQL</productname>的查询规划器会在任何一种涉及到以下操作符的已索引列上考虑使用B-tree索引:
256+
257+
<para>
258+
B-tree可以在可排序数据上的处理等值和范围查询。特别地,<productname>PostgreSQL</productname>的查询规划器会在任何一种涉及到以下操作符的已索引列上考虑使用B-tree索引:
257259

258260
<synopsis>
259261
&lt; &nbsp; &lt;= &nbsp; = &nbsp; &gt;= &nbsp; &gt;
@@ -327,6 +329,7 @@ ____________________________________________________________________________-->
327329
<primary>hash</primary>
328330
<see>index</see>
329331
</indexterm>
332+
<para>
330333
HASH索引存储一个由索引列计算出的32位的hash code值。因此,Hash索引只能处理简单等值比较。每当索引列涉及到等值操作符的比较时,查询规划器将会使用Hash索引。
331334
<synopsis>
332335
=
@@ -603,6 +606,8 @@ ____________________________________________________________________________-->
603606
<primary>BRIN</primary>
604607
<see>index</see>
605608
</indexterm>
609+
610+
<para>
606611
BRIN 索引(块范围索引的缩写)存储有关存放在一个表的连续物理块范围上的值摘要信息。因此,那些值和table中物理行存放顺序相关性更好的列更高效。与 GiST、SP-GiST 和 GIN 相似,BRIN 可以支持很多种不同的索引策略,并且可以与一个 BRIN 索引配合使用的特定操作符取决于索引策略。对于具有线性排序顺序的数据类型,被索引的数据对应于每个块范围的列中值的最小值和最大值,使用这些操作符来支持用到索引的查询:
607612

608613
<synopsis>

postgresql/doc/src/sgml/installation.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4082,7 +4082,7 @@ make PG_SYSROOT=<replaceable>/desired/path</replaceable> all
40824082
</programlisting>
40834083
To find out the appropriate path on your machine, run
40844084
<programlisting>
4085-
xcrun --show-sdk-path
4085+
xcrun -&minus;show-sdk-path
40864086
</programlisting>
40874087
Note that building an extension using a different sysroot version than
40884088
was used to build the core server is not really recommended; in the

postgresql/doc/src/sgml/ref/initdb.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ ____________________________________________________________________________-->
360360
</varlistentry>
361361

362362
<varlistentry>
363-
<term><option>--no-instructions</option></term>
363+
<term><option>-&minus;no-instructions</option></term>
364364
<listitem>
365365
<para>
366366
By default, <command>initdb</command> will write instructions for how

postgresql/doc/src/sgml/ref/pg_basebackup.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ ____________________________________________________________________________-->
257257
tablespaces, the main data directory will be placed in the
258258
target directory, but all other tablespaces will be placed
259259
in the same absolute path as they have on the source server.
260-
(See <option>--tablespace-mapping</option> to change that.)
260+
(See <option>-&minus;tablespace-mapping</option> to change that.)
261261
</para>
262262
<para>
263263
This is the default format.
@@ -297,7 +297,7 @@ ____________________________________________________________________________-->
297297
<para>
298298
Creates a
299299
<link linkend="file-standby-signal"><filename>standby.signal</filename></link>
300-
<indexterm><primary><filename>standby.signal</filename></primary><secondary>pg_basebackup --write-recovery-conf</secondary></indexterm>
300+
<indexterm><primary><filename>standby.signal</filename></primary><secondary>pg_basebackup -&minus;write-recovery-conf</secondary></indexterm>
301301
file and appends
302302
connection settings to the <filename>postgresql.auto.conf</filename>
303303
file in the target directory (or within the base archive file when

postgresql/doc/src/sgml/ref/pg_dump.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,13 +1186,13 @@ ____________________________________________________________________________-->
11861186
<listitem>
11871187
<para>
11881188
Require that each
1189-
extension (<option>-e</option>/<option>--extension</option>),
1190-
schema (<option>-n</option>/<option>--schema</option>) and
1191-
table (<option>-t</option>/<option>--table</option>) qualifier
1189+
extension (<option>-e</option>/<option>-&minus;extension</option>),
1190+
schema (<option>-n</option>/<option>-&minus;schema</option>) and
1191+
table (<option>-t</option>/<option>-&minus;table</option>) qualifier
11921192
match at least one extension/schema/table in the database to be dumped.
11931193
Note that if none of the extension/schema/table qualifiers find
11941194
matches, <application>pg_dump</application> will generate an error
1195-
even without <option>--strict-names</option>.
1195+
even without <option>-&minus;strict-names</option>.
11961196
</para>
11971197
<para>
11981198
This option has no effect

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ ____________________________________________________________________________-->
13541354
如果指定了<replaceable class="parameter">join_using_alias</replaceable>名称,它为连接列提供表的别名。
13551355
只有<literal>USING</literal>子句中列出的连接列可以通过此名称寻址。
13561356
与常规的<replaceable class="parameter">alias</replaceable>不同,这不会隐藏从查询的其余部分的连接表的名称。
1357-
也不像常规的<replaceable class="parameter">alias</replaceable>,你不能写列别名列表&mdash
1357+
也不像常规的<replaceable class="parameter">alias</replaceable>,你不能写列别名列表&mdash;
13581358
连接列的输出名称与它们在<literal>USING</literal>列表中出现的名称相同。
13591359
</para>
13601360
</listitem>

0 commit comments

Comments
 (0)