Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c8dd2cb

Browse files
committed
doc: Fix some typos and markups
Author: Ekaterina Kiryanova Discussion: https://postgr.es/m/8a14e78f-6991-7a6e-4711-fe376635f2ad@postgrespro.ru Backpatch-through: 14
1 parent 5b0b699 commit c8dd2cb

File tree

7 files changed

+18
-16
lines changed

7 files changed

+18
-16
lines changed

doc/src/sgml/btree.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ options(<replaceable>relopts</replaceable> <type>local_relopts *</type>) returns
664664
certain implementation-level heuristics will fail to identify and
665665
delete even one garbage index tuple (in which case a page split or
666666
deduplication pass resolves the issue of an incoming new tuple not
667-
fitting on a leaf page). The worst case number of versions that
667+
fitting on a leaf page). The worst-case number of versions that
668668
any index scan must traverse (for any single logical row) is an
669669
important contributor to overall system responsiveness and
670670
throughput. A bottom-up index deletion pass targets suspected
@@ -706,7 +706,7 @@ options(<replaceable>relopts</replaceable> <type>local_relopts *</type>) returns
706706
This is expected with any B-Tree index that is subject to
707707
significant version churn from <command>UPDATE</command>s that
708708
rarely or never logically modify the columns that the index covers.
709-
The average and worst case number of versions per logical row can
709+
The average and worst-case number of versions per logical row can
710710
be kept low purely through targeted incremental deletion passes.
711711
It's quite possible that the on-disk size of certain indexes will
712712
never increase by even one single page/block despite
@@ -811,7 +811,7 @@ options(<replaceable>relopts</replaceable> <type>local_relopts *</type>) returns
811811
constraints) to use deduplication. This allows leaf pages to
812812
temporarily <quote>absorb</quote> extra version churn duplicates.
813813
Deduplication in unique indexes augments bottom-up index deletion,
814-
especially in cases where a long-running transactions holds a
814+
especially in cases where a long-running transaction holds a
815815
snapshot that blocks garbage collection. The goal is to buy time
816816
for the bottom-up index deletion strategy to become effective
817817
again. Delaying page splits until a single long-running

doc/src/sgml/catalogs.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13116,7 +13116,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
1311613116
<structname>pg_stats_ext_exprs</structname> is also designed to present
1311713117
the information in a more readable format than the underlying catalogs
1311813118
&mdash; at the cost that its schema must be extended whenever the structure
13119-
of statistics in <link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link> changes.
13119+
of statistics in <structname>pg_statistic_ext</structname> changes.
1312013120
</para>
1312113121

1312213122
<table>

doc/src/sgml/ref/alter_subscription.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <
6565

6666
<para>
6767
Commands <command>ALTER SUBSCRIPTION ... REFRESH PUBLICATION</command> and
68-
<command>ALTER SUBSCRIPTION ... {SET|ADD|DROP} PUBLICATION ...</command> with refresh
69-
option as true cannot be executed inside a transaction block.
68+
<command>ALTER SUBSCRIPTION ... {SET|ADD|DROP} PUBLICATION ...</command>
69+
with <literal>refresh</literal> option as <literal>true</literal> cannot be
70+
executed inside a transaction block.
7071

7172
These commands also cannot be executed when the subscription has
7273
<literal>two_phase</literal> commit enabled,

doc/src/sgml/ref/initdb.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ PostgreSQL documentation
283283
By default, <command>initdb</command> will write instructions for how
284284
to start the cluster at the end of its output. This option causes
285285
those instructions to be left out. This is primarily intended for use
286-
by tools that wrap <command>initdb</command> in platform specific
286+
by tools that wrap <command>initdb</command> in platform-specific
287287
behavior, where those instructions are likely to be incorrect.
288288
</para>
289289
</listitem>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,11 +1936,11 @@ testdb=&gt;
19361936
<para>
19371937
The status of each kind of extended statistics is shown in a column
19381938
named after its statistic kind (e.g. Ndistinct).
1939-
"defined" means that it was requested when creating the statistics,
1940-
and NULL means it wasn't requested.
1941-
You can use pg_stats_ext if you'd like to know whether <link linkend="sql-analyze">
1942-
<command>ANALYZE</command></link> was run and statistics are available to the
1943-
planner.
1939+
<literal>defined</literal> means that it was requested when creating
1940+
the statistics, and NULL means it wasn't requested.
1941+
You can use <structname>pg_stats_ext</structname> if you'd like to
1942+
know whether <link linkend="sql-analyze"><command>ANALYZE</command></link>
1943+
was run and statistics are available to the planner.
19441944
</para>
19451945
</listitem>
19461946
</varlistentry>

doc/src/sgml/spgist.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,9 @@ typedef struct spgLeafConsistentOut
875875

876876
<para>
877877
Note: the <function>compress</function> method is only applied to
878-
values to be stored. The consistent methods receive query scankeys
879-
unchanged, without transformation using <function>compress</function>.
878+
values to be stored. The consistent methods receive query
879+
<structfield>scankeys</structfield> unchanged, without transformation
880+
using <function>compress</function>.
880881
</para>
881882
</listitem>
882883
</varlistentry>

doc/src/sgml/test-decoding.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ postgres=# SELECT * FROM pg_logical_slot_get_changes('test_slot', NULL, NULL, 'i
4040
</para>
4141

4242
<para>
43-
We can also get the changes of the in-progress transaction and the typical
44-
output, might be:
43+
We can also get the changes of the in-progress transaction, and the typical
44+
output might be:
4545

4646
<programlisting>
4747
postgres[33712]=#* SELECT * FROM pg_logical_slot_get_changes('test_slot', NULL, NULL, 'stream-changes', '1');

0 commit comments

Comments
 (0)