使用PostgreSQL执行sql语句时,发生错误:ERROR: data type integer has no default operator class for access method “gist”
HINT: You must specify an operator class for the index or define a default operator class for the data type.
解决办法:执行:CREATE EXTENSION btree_gist;
当在PostgreSQL中执行SQL语句时遇到错误:datatype integer has no default operator class for access method “gist”。本文提供了解决方案:通过执行CREATE EXTENSION btree_gist;来创建扩展,解决gist索引方法的问题。
6033

被折叠的 条评论
为什么被折叠?



