|
206 | 206 | <para>
|
207 | 207 | Of the two operator classes for type <type>point</type>,
|
208 | 208 | <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 |
210 | 210 | may offer better performance in some applications.
|
211 | 211 | </para>
|
212 | 212 | <para>
|
|
292 | 292 | <function>leaf_consistent</function> additionally returns a <type>boolean</type> result.
|
293 | 293 | The methods must not modify any fields of their input structs. In all
|
294 | 294 | 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. |
298 | 298 | </para>
|
299 | 299 |
|
300 | 300 | <para>
|
@@ -447,9 +447,9 @@ typedef struct spgChooseOut
|
447 | 447 | type that was to be inserted into the index.
|
448 | 448 | <structfield>leafDatum</structfield> is a value of
|
449 | 449 | <structname>spgConfigOut</structname>.<structfield>leafType</structfield>
|
450 |
| - type which is initially an result of method |
| 450 | + type, which is initially a result of method |
451 | 451 | <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 |
453 | 453 | <structfield>datum</structfield> otherwise.
|
454 | 454 | <structfield>leafDatum</structfield> can change at lower levels of the tree
|
455 | 455 | if the <function>choose</function> or <function>picksplit</function>
|
@@ -868,7 +868,7 @@ typedef struct spgLeafConsistentOut
|
868 | 868 | Converts the data item into a format suitable for physical storage in
|
869 | 869 | a leaf tuple of index page. It accepts
|
870 | 870 | <structname>spgConfigIn</structname>.<structfield>attType</structfield>
|
871 |
| - value and return |
| 871 | + value and returns |
872 | 872 | <structname>spgConfigOut</structname>.<structfield>leafType</structfield>
|
873 | 873 | value. Output value should not be toasted.
|
874 | 874 | </para>
|
|
0 commit comments