| PostgreSQL 9.5.0 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 60. SP-GiST索引 | Next | 
Table 60-1中展示了PostgreSQL 核心发布所包括的SP-GiST操作符类。
Table 60-1. 内建 SP-GiST 操作符类
| 名称 | 索引数据类型 | 可索引操作符 | 
|---|---|---|
| kd_point_ops | point | << <@ <^ >> >^ ~= | 
| quad_point_ops | point | << <@ <^ >> >^ ~= | 
| range_ops | 任何范围类型 | && &< &> -|- << <@ = >> @> | 
| text_ops | text | < <= = > >= ~<=~ ~<~ ~>=~ ~>~ | 
在用于类型point的两种操作符类中,quad_point_ops 是默认值。kd_point_ops支持相同的操作符,但是使用一种不同的 索引数据结构,在某些应用中它可以提供更好的性能。