postgresql 创建gin索引

 

1.创建gin类型的索引

postgresql 创建gin索引遇到的问题:
1.ERROR: operator class "gin_trgm_ops" does not exist for access method "gin"

解决方案:
先执行 CREATE EXTENSION pg_trgm;

https://www.cnblogs.com/goingforward/p/10386979.html

 

posted @ 2019-03-21 10:16  紫晶城  阅读(3149)  评论(0编辑  收藏  举报