66.5. Examples

|          66.5. Examples          |                 |                           |                  |                 |
|:--------------------------------:|-----------------|---------------------------|------------------|-----------------|
|[Prev](spgist-implementation.html)|[Up](spgist.html)|Chapter 66. SP-GiST Indexes|[Home](index.html)| [Next](gin.html)|

---

## 66.5. Examples

 The PostgreSQL source distribution includes several examples of index operator classes for SP-GiST, as described in [Table 66.1](spgist-builtin-opclasses.html#SPGIST-BUILTIN-OPCLASSES-TABLE). Look into `src/backend/access/spgist/` and `src/backend/utils/adt/` to see the code.

---

|[Prev](spgist-implementation.html)|[Up](spgist.html) |    [Next](gin.html)    |
|:---------------------------------|:----------------:|-----------------------:|
|       66.4. Implementation       |[Home](index.html)| Chapter 67. GIN Indexes|

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>