postgresql - 如何为通过 Homebrew 软件安装的 Postgresql 安装 Trigram 模块?

标签 postgresql module homebrew

所以我已经通过 Homebrew 安装了 Postgresql,看起来 contrib 目录丢失了。我读过的所有安装 Trigram 的教程都需要这个。

$ cd /usr/local/Cellar/postgresql/9.1.2/share/postgresql/contrib
-bash: cd: /usr/local/Cellar/postgresql/9.1.2/share/postgresql/contrib: No such file or directory

谁能给我指出安装 Trigram (pg_trgm.sql) 的正确方向?我在这里迷路了。

谢谢。

最佳答案

才发现正确的路径是....

/usr/local/Cellar/postgresql/9.1.2/share/postgresql/extension

想与遇到此问题的其他人分享。

关于postgresql - 如何为通过 Homebrew 软件安装的 Postgresql 安装 Trigram 模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9897745/

相关文章:

Python2打印postgresql存储过程raise通知

python - 在释放锁之前如何确保 PostgreSQL 中的写入已完成?

python - 如何从子模块导入 python 脚本?

ruby-on-rails - 在 Mac OSX Snow Leopard 上安装 PostgreSQL for Rails 3 - 错误消息

curl - curl在Mac上不支持http2

sql - 查询 - 在一系列时间戳中查找空间隔

PostgreSQL:严格本地安装的过程或文档

design-patterns - 模块化大型 Grails 应用程序的最佳实践?

interface - fortran选择按过程调用派生类型

macos - Logstash/usr/local/etc/logstash/conf.d/安装后文件夹不存在