60.2. Built-in Operator Classes
The corePostgreSQL distribution includes theSP-GiST operator classes shown inTable 60.1.
Table 60.1. Built-inSP-GiST Operator Classes
Name | Indexed Data Type | Indexable Operators |
---|---|---|
kd_point_ops | point | << <@ <^ >> >^ ~= |
quad_point_ops | point | << <@ <^ >> >^ ~= |
range_ops | any range type | && &< &> -|- << <@ = >> @> |
text_ops | text | < <= = > >= ~<=~ ~<~ ~>=~ ~>~ |
Of the two operator classes for typepoint
,quad_point_ops
is the default.kd_point_ops
supports the same operators but uses a different index data structure that may offer better performance in some applications.