Supported Versions: Current (11) / 10 / 9.6 / 9.5 / 9.4
Development Versions: 12 / devel
Unsupported versions: 9.3 / 9.2

54.4. Examples

The PostgreSQL source distribution includes several examples of index operator classes for SP-GiST. The core system currently provides suffix trees over text columns and two types of trees over points: quad-tree and k-d tree. Look into src/backend/access/spgist/ to see the code.