|
110 | 110 | integers. In practice the default operator class for the field's
|
111 | 111 | datatype is usually sufficient. The main point of having operator classes
|
112 | 112 | is that for some datatypes, there could be more than one meaningful
|
113 |
| - ordering. For an index on such a datatype, we could select which |
114 |
| - ordering we wanted by selecting the proper operator class. There |
115 |
| - are also some operator classes with special purposes: |
| 113 | + ordering. For example, we might want to sort a complex-number datatype |
| 114 | + either by absolute value or by real part. We could do this by defining |
| 115 | + two operator classes for the datatype and then selecting the proper |
| 116 | + class when making an index. There are also some operator classes with |
| 117 | + special purposes: |
116 | 118 |
|
117 | 119 | <itemizedlist>
|
118 | 120 | <listitem>
|
|