官术网_书友最值得收藏!

  • Mastering PostgreSQL 12
  • Hans Jürgen Sch?nig
  • 117字
  • 2021-08-20 10:00:30

Extending GiST

Of course, it is also possible to come up with your own operator classes. The following strategies are supported:

 

If you want to write operator classes for GiST, a couple of support functions have to be provided. In the case of a B-tree, there is only one function—GiST indexes provide a lot more:

 

Implementing operator classes for GiST indexes is usually done in C. If you are interested in a good example, I advise you to check out the btree_GiST module in the contrib directory. It shows how to index standard data types using GiST and is a good source of information, as well as inspiration.

主站蜘蛛池模板: 涞水县| 成武县| 清镇市| 临湘市| 沅陵县| 平果县| 合阳县| 阜新| 通渭县| 宁晋县| 吉安县| 扬中市| 息烽县| 建瓯市| 涿鹿县| 巴中市| 汤阴县| 五莲县| 阜宁县| 泽普县| 高青县| 洛南县| 长兴县| 卢龙县| 郑州市| 镇远县| 清流县| 华蓥市| 晋中市| 那坡县| 历史| 洪泽县| 灌云县| 探索| 娱乐| 玉屏| 牡丹江市| 应城市| 松滋市| 长寿区| 商南县|