mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Add a little to index operator class discussion.
This commit is contained in:
@ -110,9 +110,11 @@
|
|||||||
integers. In practice the default operator class for the field's
|
integers. In practice the default operator class for the field's
|
||||||
datatype is usually sufficient. The main point of having operator classes
|
datatype is usually sufficient. The main point of having operator classes
|
||||||
is that for some datatypes, there could be more than one meaningful
|
is that for some datatypes, there could be more than one meaningful
|
||||||
ordering. For an index on such a datatype, we could select which
|
ordering. For example, we might want to sort a complex-number datatype
|
||||||
ordering we wanted by selecting the proper operator class. There
|
either by absolute value or by real part. We could do this by defining
|
||||||
are also some operator classes with special purposes:
|
two operator classes for the datatype and then selecting the proper
|
||||||
|
class when making an index. There are also some operator classes with
|
||||||
|
special purposes:
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
Reference in New Issue
Block a user