|
188 | 188 | <para>
|
189 | 189 | Of the two operator classes for type <type>point</type>,
|
190 | 190 | <literal>quad_point_ops</literal> is the default. <literal>kd_point_ops</literal>
|
191 |
| - supports the same operators but uses a different index data structure which |
| 191 | + supports the same operators but uses a different index data structure that |
192 | 192 | may offer better performance in some applications.
|
193 | 193 | </para>
|
194 | 194 |
|
|
268 | 268 | <function>leaf_consistent</function> additionally returns a <type>boolean</type> result.
|
269 | 269 | The methods must not modify any fields of their input structs. In all
|
270 | 270 | cases, the output struct is initialized to zeroes before calling the
|
271 |
| - user-defined method. Optional sixth method <function>compress</function> |
272 |
| - accepts datum to be indexed as the only argument and returns value suitable |
273 |
| - for physical storage in leaf tuple. |
| 271 | + user-defined method. The optional sixth method <function>compress</function> |
| 272 | + accepts datum to be indexed as the only argument and returns a value suitable |
| 273 | + for physical storage in a leaf tuple. |
274 | 274 | </para>
|
275 | 275 |
|
276 | 276 | <para>
|
@@ -423,9 +423,9 @@ typedef struct spgChooseOut
|
423 | 423 | type that was to be inserted into the index.
|
424 | 424 | <structfield>leafDatum</structfield> is a value of
|
425 | 425 | <structname>spgConfigOut</structname>.<structfield>leafType</structfield>
|
426 |
| - type which is initially an result of method |
| 426 | + type, which is initially a result of method |
427 | 427 | <function>compress</function> applied to <structfield>datum</structfield>
|
428 |
| - when method <function>compress</function> is provided, or same value as |
| 428 | + when method <function>compress</function> is provided, or the same value as |
429 | 429 | <structfield>datum</structfield> otherwise.
|
430 | 430 | <structfield>leafDatum</structfield> can change at lower levels of the tree
|
431 | 431 | if the <function>choose</function> or <function>picksplit</function>
|
@@ -820,7 +820,7 @@ typedef struct spgLeafConsistentOut
|
820 | 820 | Converts the data item into a format suitable for physical storage in
|
821 | 821 | a leaf tuple of index page. It accepts
|
822 | 822 | <structname>spgConfigIn</structname>.<structfield>attType</structfield>
|
823 |
| - value and return |
| 823 | + value and returns |
824 | 824 | <structname>spgConfigOut</structname>.<structfield>leafType</structfield>
|
825 | 825 | value. Output value should not be toasted.
|
826 | 826 | </para>
|
|
0 commit comments