Commit 03310dbe authored by Michael Paquier's avatar Michael Paquier

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
parent 78d6a9cb
...@@ -443,7 +443,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d ...@@ -443,7 +443,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
<term><option>--latency-limit=</option><replaceable>limit</replaceable></term> <term><option>--latency-limit=</option><replaceable>limit</replaceable></term>
<listitem> <listitem>
<para> <para>
Transaction which last more than <replaceable>limit</replaceable> milliseconds Transactions that last more than <replaceable>limit</replaceable> milliseconds
are counted and reported separately, as <firstterm>late</firstterm>. are counted and reported separately, as <firstterm>late</firstterm>.
</para> </para>
<para> <para>
......
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
<para> <para>
Of the two operator classes for type <type>point</type>, Of the two operator classes for type <type>point</type>,
<literal>quad_point_ops</literal> is the default. <literal>kd_point_ops</literal> <literal>quad_point_ops</literal> is the default. <literal>kd_point_ops</literal>
supports the same operators but uses a different index data structure which supports the same operators but uses a different index data structure that
may offer better performance in some applications. may offer better performance in some applications.
</para> </para>
<para> <para>
...@@ -292,9 +292,9 @@ ...@@ -292,9 +292,9 @@
<function>leaf_consistent</function> additionally returns a <type>boolean</type> result. <function>leaf_consistent</function> additionally returns a <type>boolean</type> result.
The methods must not modify any fields of their input structs. In all The methods must not modify any fields of their input structs. In all
cases, the output struct is initialized to zeroes before calling the cases, the output struct is initialized to zeroes before calling the
user-defined method. Optional sixth method <function>compress</function> user-defined method. The optional sixth method <function>compress</function>
accepts datum to be indexed as the only argument and returns value suitable accepts datum to be indexed as the only argument and returns a value suitable
for physical storage in leaf tuple. for physical storage in a leaf tuple.
</para> </para>
<para> <para>
...@@ -447,9 +447,9 @@ typedef struct spgChooseOut ...@@ -447,9 +447,9 @@ typedef struct spgChooseOut
type that was to be inserted into the index. type that was to be inserted into the index.
<structfield>leafDatum</structfield> is a value of <structfield>leafDatum</structfield> is a value of
<structname>spgConfigOut</structname>.<structfield>leafType</structfield> <structname>spgConfigOut</structname>.<structfield>leafType</structfield>
type which is initially an result of method type, which is initially a result of method
<function>compress</function> applied to <structfield>datum</structfield> <function>compress</function> applied to <structfield>datum</structfield>
when method <function>compress</function> is provided, or same value as when method <function>compress</function> is provided, or the same value as
<structfield>datum</structfield> otherwise. <structfield>datum</structfield> otherwise.
<structfield>leafDatum</structfield> can change at lower levels of the tree <structfield>leafDatum</structfield> can change at lower levels of the tree
if the <function>choose</function> or <function>picksplit</function> if the <function>choose</function> or <function>picksplit</function>
...@@ -868,7 +868,7 @@ typedef struct spgLeafConsistentOut ...@@ -868,7 +868,7 @@ typedef struct spgLeafConsistentOut
Converts the data item into a format suitable for physical storage in Converts the data item into a format suitable for physical storage in
a leaf tuple of index page. It accepts a leaf tuple of index page. It accepts
<structname>spgConfigIn</structname>.<structfield>attType</structfield> <structname>spgConfigIn</structname>.<structfield>attType</structfield>
value and return value and returns
<structname>spgConfigOut</structname>.<structfield>leafType</structfield> <structname>spgConfigOut</structname>.<structfield>leafType</structfield>
value. Output value should not be toasted. value. Output value should not be toasted.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment