g_trgm is an extension, so:

CREATE EXTENSION pg_trgm;

If you get the following error

ERROR: could not open extension control file ".../extension/pg_trgm.control":
No such file or directory"

then you need to install the module for your operating system

  • Ubuntu/Debian:

    sudo apt install postgresql-contrib
  • Redhat/Centos

    sudo yum install postgresql10-contrib
  • Fedora

    sudo dnf install postgresql-contrib

最新文章

  1. 火车采集器 帝国CMS7.2免登录发布模块
  2. Urban Planning and Public Health - Reflection on Professor Webster's article in Urban Planning Forum
  3. Thinkphp 不显示生成的验证码 【转载】
  4. link them together by means of pointers
  5. Java基本开发环境搭建(适合第一次使用)
  6. HDU4758 Walk Through Squares AC自动机&&dp
  7. PHP 冒泡排序法
  8. 初次运行 Git 前的配置
  9. 关于Console的Main(String[] args)参数输入
  10. 解决无法打开myeclipse-->“The default workspace'D: /myeclipse spaceis in use or cannot be created. Please choose a different one”
  11. linux命令(36):vimdiff文件对比
  12. Python+SparkStreaming+kafka+写入本地文件案例(可执行)
  13. P3216 [HNOI2011]数学作业 (矩阵快速幂)
  14. 一、WPF 2个datagrid之间同步进度条
  15. initerrlog: 无法打开错误日志文件 'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log 解决办法
  16. JavaScript学习日志(2)
  17. DNSPod--国内最早提供免费智能DNS产品的网站,致力于为各类网站提供高质量的多线智能DNS免费解析
  18. javascript Date对象 之 时间转字符串
  19. 帮助小伙伴写的组装xml字符串类
  20. 谁说selenium打开firefox不用驱动的???!!!!

热门文章

  1. PMBOK项目管理的五大过程组和十大知识领域
  2. Tomcat Lifecycle
  3. 线程一(lock)
  4. MIG(ddr3)工程报错解决:IO constraint DQS_BIAS\Multiple Driver Net
  5. ceph集群部署(基于jewel版)
  6. MongoDB简介,安装,增删改查
  7. linux命令详解
  8. CentOS7.X版本系统的下载和安装
  9. java递归、js递归,无限极分类菜单表
  10. G1混合式GC与三色标记算法详解【纯理论】