小编Mat*_*att的帖子

gin_trgm_ops 索引创建失败

我正在尝试在包含名称的文本字段上创建三元组索引。我已将 pg_trgm 扩展添加到架构中。运行\dx显示已启用:

List of installed extensions
   Name    | Version |   Schema   |                            Description                            
-----------+---------+------------+-------------------------------------------------------------------
 btree_gin | 1.3     | pg_catalog | support for indexing common datatypes in GIN
 dblink    | 1.2     | wos_core   | connect to other PostgreSQL databases from within a database
 pg_trgm   | 1.4     | wos_core   | text similarity measurement and index searching based on trigrams
 plpgsql   | 1.0     | pg_catalog | PL/pgSQL procedural language
(4 rows)
Run Code Online (Sandbox Code Playgroud)

但是,当我运行以下命令时:

CREATE INDEX authors_full_name_idx ON wos_core.interface_table USING GIN (authors_full_name …
Run Code Online (Sandbox Code Playgroud)

postgresql index

5
推荐指数
1
解决办法
9543
查看次数

标签 统计

index ×1

postgresql ×1