File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 207
207
208
208
<para>
209
209
As shown in <xref linkend="xindex-btree-support-table"/>, btree defines
210
- one required and three optional support functions. The four
210
+ one required and four optional support functions. The five
211
211
user-defined methods are:
212
212
</para>
213
213
<variablelist>
Original file line number Diff line number Diff line change 284
284
285
285
<para>
286
286
There are five user-defined methods that an index operator class for
287
- <acronym>SP-GiST</acronym> must provide, and one is optional. All five
287
+ <acronym>SP-GiST</acronym> must provide, and two are optional. All five
288
288
mandatory methods follow the convention of accepting two <type>internal</type>
289
289
arguments, the first of which is a pointer to a C struct containing input
290
290
values for the support method, while the second argument is a pointer to a
295
295
cases, the output struct is initialized to zeroes before calling the
296
296
user-defined method. The optional sixth method <function>compress</function>
297
297
accepts datum to be indexed as the only argument and returns a value suitable
298
- for physical storage in a leaf tuple.
298
+ for physical storage in a leaf tuple. The optional seventh method
299
+ <function>options</function> accepts internal pointer to a C struct, where
300
+ opclass-specific parameters should be placed, and returns <type>void</type>.
299
301
</para>
300
302
301
303
<para>
You can’t perform that action at this time.
0 commit comments