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

Commit 03310db

Browse files
committed
Fix some grammar in documentation of spgist and pgbench
Discussion: https://postgr.es/m/92961161-9b49-e42f-0a72-d5d47e0ed4de@postgrespro.ru Author: Liudmila Mantrova Reviewed-by: Jonathan Katz, Tom Lane, Michael Paquier Backpatch-through: 9.4
1 parent 78d6a9c commit 03310db

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/src/sgml/ref/pgbench.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
443443
<term><option>--latency-limit=</option><replaceable>limit</replaceable></term>
444444
<listitem>
445445
<para>
446-
Transaction which last more than <replaceable>limit</replaceable> milliseconds
446+
Transactions that last more than <replaceable>limit</replaceable> milliseconds
447447
are counted and reported separately, as <firstterm>late</firstterm>.
448448
</para>
449449
<para>

doc/src/sgml/spgist.sgml

+7-7
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
<para>
207207
Of the two operator classes for type <type>point</type>,
208208
<literal>quad_point_ops</literal> is the default. <literal>kd_point_ops</literal>
209-
supports the same operators but uses a different index data structure which
209+
supports the same operators but uses a different index data structure that
210210
may offer better performance in some applications.
211211
</para>
212212
<para>
@@ -292,9 +292,9 @@
292292
<function>leaf_consistent</function> additionally returns a <type>boolean</type> result.
293293
The methods must not modify any fields of their input structs. In all
294294
cases, the output struct is initialized to zeroes before calling the
295-
user-defined method. Optional sixth method <function>compress</function>
296-
accepts datum to be indexed as the only argument and returns value suitable
297-
for physical storage in leaf tuple.
295+
user-defined method. The optional sixth method <function>compress</function>
296+
accepts datum to be indexed as the only argument and returns a value suitable
297+
for physical storage in a leaf tuple.
298298
</para>
299299

300300
<para>
@@ -447,9 +447,9 @@ typedef struct spgChooseOut
447447
type that was to be inserted into the index.
448448
<structfield>leafDatum</structfield> is a value of
449449
<structname>spgConfigOut</structname>.<structfield>leafType</structfield>
450-
type which is initially an result of method
450+
type, which is initially a result of method
451451
<function>compress</function> applied to <structfield>datum</structfield>
452-
when method <function>compress</function> is provided, or same value as
452+
when method <function>compress</function> is provided, or the same value as
453453
<structfield>datum</structfield> otherwise.
454454
<structfield>leafDatum</structfield> can change at lower levels of the tree
455455
if the <function>choose</function> or <function>picksplit</function>
@@ -868,7 +868,7 @@ typedef struct spgLeafConsistentOut
868868
Converts the data item into a format suitable for physical storage in
869869
a leaf tuple of index page. It accepts
870870
<structname>spgConfigIn</structname>.<structfield>attType</structfield>
871-
value and return
871+
value and returns
872872
<structname>spgConfigOut</structname>.<structfield>leafType</structfield>
873873
value. Output value should not be toasted.
874874
</para>

0 commit comments

Comments
 (0)