最近更新时间: 2025-02-18 16:02:00
postgres=# create table t_trgm (id int,trgm text,no_trgm text) ; postgres=# create index t_trgm_trgm_idx on t_trgm using gist(trgm gist_trgm_ops);
⚠️使用gist索引需要预先安装插件。
create extension pg_trgm;