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

猜你喜欢

转载自www.cnblogs.com/SeNaiTes/p/10569869.html